Summary: | CompilationUnit.rewrite(...) fails on modified annotation | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | Carl McConnell <carl_mcconnell> | ||||||
Component: | Core | Assignee: | Martin Aeschlimann <martinae> | ||||||
Status: | VERIFIED FIXED | QA Contact: | |||||||
Severity: | normal | ||||||||
Priority: | P3 | ||||||||
Version: | 3.1 | ||||||||
Target Milestone: | 3.1 M5 | ||||||||
Hardware: | PC | ||||||||
OS: | Windows XP | ||||||||
Whiteboard: | |||||||||
Attachments: |
|
Description
Carl McConnell
2005-01-20 20:35:53 EST
Created attachment 17353 [details]
Code fragment to reproduce
Created attachment 17354 [details]
Stack trace
The original CoreException mentioned in the bug report gets turned into the
IllegalArgument exception shown here.
The obvious suspect is the use of ITerminalSymbols.TokenNameLESS in
ASTRewriteAnalyzer.visit(org.eclipse.jdt.core.dom.NormalAnnotation).
This was in 3.1 M4. fixed > 20050121 Verified in I20050214-0927 |