Community
Participate
Working Groups
preview from frederic 20040127 The following CU can't be build: /** * */ package x; /** * */ public class B { p } When debugging in setCommetTable 3 comments are added, including a line comment starting at position 0. at org.eclipse.jdt.core.dom.CompilationUnit.setCommentTable(CompilationUnit.java:524) at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:151) at org.eclipse.jdt.core.dom.AST.parseCompilationUnit(AST.java:1034) at org.eclipse.jdt.internal.ui.viewsupport.SelectionListenerWithASTManager$PartListenerGroup.computeAST(SelectionListenerWithASTManager.java:125) at org.eclipse.jdt.internal.ui.viewsupport.SelectionListenerWithASTManager$PartListenerGroup.calculateASTandInform(SelectionListenerWithASTManager.java:144) at org.eclipse.jdt.internal.ui.viewsupport.SelectionListenerWithASTManager$1.run(SelectionListenerWithASTManager.java:99) at org.eclipse.core.internal.jobs.Worker.run(Worker.java)
Fixed. Note that the code on which this problem occured were not released... A test case has been added in jdt.core.dom.ASTConverterJavadocTest to verify that this won't happen again...
Verified for 3.0M7