Summary: | CCE in Scope.findMemberType | ||||||
---|---|---|---|---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | Martin Aeschlimann <martinae> | ||||
Component: | Core | Assignee: | Kent Johnson <kent_johnson> | ||||
Status: | VERIFIED FIXED | QA Contact: | |||||
Severity: | normal | ||||||
Priority: | P3 | ||||||
Version: | 3.3 | ||||||
Target Milestone: | 3.3 RC1 | ||||||
Hardware: | PC | ||||||
OS: | Windows XP | ||||||
Whiteboard: | |||||||
Attachments: |
|
Description
Martin Aeschlimann
2007-05-14 04:11:22 EDT
Looking at the trace, it seems the problem comes from a distinct unit (which has a qualified super type reference). In runtime workbench, the refactoring action took minutes to perform, and didn't crash in the end. Reproduced only if using a JRE 6.0 lib on the buildpath. i.e. java version "1.6.0_02-ea" Java(TM) SE Runtime Environment (build 1.6.0_02-ea-b02) Java HotSpot(TM) Client VM (build 1.6.0_02-ea-b02, mixed mode) Offending unit is Font.class (from searching with source attached). java.awt.Font is trying to connect super-interface "java.io.Serializable" It tries to look for a member type "java" through static import: import : sun.font.EAttribute.* Created attachment 67056 [details]
Proposed patch
Could reproduce original issue (using refactoring), but unable to write a regression test. Kent - once patch is reviewed, please release it. Still need to produce some regression test. Released change to Scope in HEAD Had no luck trying to narrow down a testcase, but the fix is obviously necessary. Verified for 3.3 RC1 using build I20070516-0010 |