Community
Participate
Working Groups
for M6 I am getting very many Java AST creation errors while I am typing. However in the error message it doesn't give the file that went wrong. It would be nice to have the filename that caused the AST creation to fail so that I can better report such errors. For now I only have the stack trace: ----------------------------------------------------------- java.lang.IllegalArgumentException at org.eclipse.jdt.core.dom.SingleVariableDeclaration.setModifiers (SingleVariableDeclaration.java:156) at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:994) at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:626) at org.eclipse.jdt.core.dom.ASTConverter.buildBodyDeclarations (ASTConverter.java:917) at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:1059) at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:740) at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:1611) at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:821) at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:1752) at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:673) at org.eclipse.jdt.core.dom.ASTConverter.buildBodyDeclarations (ASTConverter.java:243) at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:182) at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:80) at org.eclipse.jdt.core.dom.AST.parseCompilationUnit(AST.java:354) at org.eclipse.jdt.core.dom.AST.parseCompilationUnit(AST.java:247) at org.eclipse.jdt.internal.ui.viewsupport.SelectionListenerWithASTManager$PartLis tenerGroup.computeAST(SelectionListenerWithASTManager.java:106) at org.eclipse.jdt.internal.ui.viewsupport.SelectionListenerWithASTManager$PartLis tenerGroup.calculateASTandInform(SelectionListenerWithASTManager.java:116) at org.eclipse.jdt.internal.ui.viewsupport.SelectionListenerWithASTManager$1.run (SelectionListenerWithASTManager.java:92) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:62) -----------------------------------------------------------------------
found a case ------------------------------- package org.ninm.games.cardgames; import java.util.EventListener; public interface PlayerListner extends EventListener { void playerJoined(final final Player player); void playerLeft(final Player player); } -------------------------------------------------------
I will investigate.
Fixed and released in HEAD. Regression test added.
Verified for 3.0-M7 with build I200402102000.