Community
Participate
Working Groups
Created attachment 91334 [details] stack trace Build ID: I20080207-1530 (3.4M5) While moving a Java file from one plug-in to another (either by using drag'n'drop in the Package Explorer or Refactor > Move) I get an Internal Error (cf attached stack trace) caused by a NPE at org.eclipse.jdt.internal.compiler.util.SimpleLookupTable.removeKey().
This indicates someone's trying to remove a null key from the lookup table.
Created attachment 91355 [details] Proposed patch Match locator should protect against unbound wildcards.
Reproduced with small following test case: class X<T> {} class Y<T extends X<?>> {} and searching for X references...
Created attachment 91366 [details] Proposed patch + test Added a regression test case
This regression was unfortunately introduced by the fix of bug 210567 released in 3.4M4 and so is not present in 3.3 stream...
Frederic - there were 2 places I added null checks in the code, and I see only one testcase... didn't you miss one scenario in your testcase ?
Created attachment 91380 [details] Proposed patch + tests Well spotted, I missed the additional bounds!
Released for 3.4M6 in HEAD stream.
*** Bug 221785 has been marked as a duplicate of this bug. ***
Verified for 3.4M6 using build I20080324-1300