Bug 30705 - Simple name should consider member types before toplevel types
Summary: Simple name should consider member types before toplevel types
Status: VERIFIED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 2.1   Edit
Hardware: PC Windows 2000
: P3 normal (vote)
Target Milestone: 2.1 M5   Edit
Assignee: Philipe Mulet CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-01-31 07:40 EST by Philipe Mulet CLA
Modified: 2003-02-10 12:57 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.