Index: Parser.java =================================================================== RCS file: /cvsroot/webtools/sourceediting/plugins/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/parser/Parser.java,v retrieving revision 1.48 diff -u -r1.48 Parser.java --- Parser.java 18 Mar 2008 15:40:16 -0000 1.48 +++ Parser.java 27 Mar 2008 10:09:33 -0000 @@ -4434,6 +4434,7 @@ // store the this.endPosition (position just before the '}') in case there is // a trailing comment behind the end of the method md.bodyEnd = this.endPosition; + md.sourceEnd = this.endPosition; md.declarationSourceEnd = flushCommentsDefinedPriorTo(this.endStatementPosition); } protected void consumeMethodHeader() {