Community
Participate
Working Groups
The following code fragment is an example of the bug: r instanceof Future<?> The problem is: the getLength method of a InstanceofExpression returns 19 instead of (what i would consider correct) 22. In the following fragments every thing works: r instanceof Future Future<?> Both are recognized correctly by the creating classes for the AST. There fore i think the bug must be around the instanceof code.
Created attachment 34947 [details] Proposed patch
Created attachment 34948 [details] Regression test
Fixed and released in HEAD. Regression test added in org.eclipse.jdt.core.tests.dom.ASTConverter15Test.test0210
Verified for 3.2 M6 using build I20060327-0010