Bug 30705

Summary: Simple name should consider member types before toplevel types
Product: [Eclipse Project] JDT Reporter: Philipe Mulet <philippe_mulet>
Component: CoreAssignee: Philipe Mulet <philippe_mulet>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 2.1   
Target Milestone: 2.1 M5   
Hardware: PC   
OS: Windows 2000   
Whiteboard:

Description Philipe Mulet CLA 2003-01-31 07:40:00 EST
Build 20030129

As per JLS 5.5.9.1, the following code should report an error:

============================ X.java
public class X {
  interface Homonym {}
}
class Homonym extends X {
  class M extends Homonym {} // should resolve to X$Homonym
}
Comment 1 Philipe Mulet CLA 2003-01-31 07:42:00 EST
JLS ref should read 6.5.5.1.

Fixed
Comment 2 David Audel CLA 2003-02-10 12:57:21 EST
Verified.