Bug 63985 - [1.5] Java AST Creation
Summary: [1.5] Java AST Creation
Status: RESOLVED DUPLICATE of bug 59052
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.0   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: JDT-Core-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-05-25 17:00 EDT by Filip Rindler CLA
Modified: 2004-05-25 17:34 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Filip Rindler CLA 2004-05-25 17:00:57 EDT
I get the following message in a dialog "Errors Running Operations" if my code 
contains an enhanced for loop ( for ( x : collection ) { ... } ). I can 
minimize that dialog, but the errors accumulate, even if I only edit a Javadoc 
comment.

I'm using the Cheetah 1.5 preview and it says on the page that enhanced for 
loops work, so I decided to report this. It seems to me like a bug.

By the way, what is AST? Is there a way to disable it?

An internal error occurred during: "Java AST creation".
java.lang.IllegalArgumentException: Not yet implemented: convert(class 
org.eclipse.jdt.internal.compiler.ast.ForeachStatement)
org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:1837)
org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:842)
org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:1752)
org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:2039)
org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:1828)
org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:408)
org.eclipse.jdt.core.dom.ASTConverter.buildBodyDeclarations
(ASTConverter.java:213)
org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:1981)
org.eclipse.jdt.core.dom.ASTConverter.buildBodyDeclarations
(ASTConverter.java:218)
org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:1981)
org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:948)
org.eclipse.jdt.core.dom.ASTParser.convert(ASTParser.java:707)
org.eclipse.jdt.core.dom.ASTParser.internalCreateAST(ASTParser.java:677)
org.eclipse.jdt.core.dom.ASTParser.createAST(ASTParser.java:573)
org.eclipse.jdt.internal.ui.javaeditor.ASTProvider.createAST
(ASTProvider.java:437)
org.eclipse.jdt.internal.ui.javaeditor.ASTProvider.getAST(ASTProvider.java:389)
org.eclipse.jdt.internal.ui.viewsupport.SelectionListenerWithASTManager$PartLis
tenerGroup.calculateASTandInform(SelectionListenerWithASTManager.java:123)
org.eclipse.jdt.internal.ui.viewsupport.SelectionListenerWithASTManager$1.run
(SelectionListenerWithASTManager.java:101)
org.eclipse.core.internal.jobs.Worker.run(Worker.java:66)
Comment 1 Olivier Thomann CLA 2004-05-25 17:34:37 EDT
Close as duplicate of bug 59052.

*** This bug has been marked as a duplicate of 59052 ***