### Eclipse Workspace Patch 1.0 #P org.eclipse.jdt.core Index: formatter/org/eclipse/jdt/internal/formatter/FormatterCommentParser.java =================================================================== RCS file: /cvsroot/eclipse/org.eclipse.jdt.core/formatter/org/eclipse/jdt/internal/formatter/FormatterCommentParser.java,v retrieving revision 1.13 diff -u -r1.13 FormatterCommentParser.java --- formatter/org/eclipse/jdt/internal/formatter/FormatterCommentParser.java 22 May 2008 15:34:15 -0000 1.13 +++ formatter/org/eclipse/jdt/internal/formatter/FormatterCommentParser.java 13 Jun 2008 16:16:44 -0000 @@ -179,6 +179,17 @@ this.tagSourceStart = previousPosition; this.tagSourceEnd = this.scanner.getCurrentTokenEndPosition(); char[] tagName = this.scanner.getCurrentIdentifierSource(); + int length = tagName.length; + if (length == 0 || !ScannerHelper.isJavaIdentifierStart(tagName[0])) { + this.invalidTagName = true; + return null; + } + for (int i=1; ilinesLeading (e.g. ignore white spaces at the beginning of the * lines, including the star inside javadoc or block comments): *