Community
Participate
Working Groups
- Import the following Java class into Eclipse: public class Foo { public String toString() { return super.toString() + new Integer(1).toString(); } } - Select 'super.toString()' and choose 'Extract local variable' - An error message appears saying: 'Cannot extract this kind of expression into a local variable'.
this is caused by the fact that calling resolveTypeBinding() on this SuperMethodInvocation returns null. i created a test for this and added to our suite (it's disabled until we have a fix here)
*** Bug 22951 has been marked as a duplicate of this bug. ***
*** Bug 23055 has been marked as a duplicate of this bug. ***
Fixed and released in 2.1 stream.
Verified.
Regression test added (test0380)