Summary: | [1.5][compiler] Eclipse compiles code with static import from nested class that javac doesn't | ||
---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | Eric Jain <eric.jain> |
Component: | Core | Assignee: | Kent Johnson <kent_johnson> |
Status: | VERIFIED NOT_ECLIPSE | QA Contact: | |
Severity: | normal | ||
Priority: | P3 | CC: | Olivier_Thomann |
Version: | 3.4.1 | ||
Target Milestone: | 3.5 M6 | ||
Hardware: | PC | ||
OS: | Windows XP | ||
Whiteboard: |
Description
Eric Jain
2009-02-24 14:35:26 EST
Replacing "B extends C" with "B extends other.C" also makes javac happy. Cannot find anything in the spec that says static import statements are order dependent. I suggest you enter a bug against javac. Looks like this bug is indeed a problem with Sun's javac (and has been known for 3 years now!): http://bugs.sun.com/view_bug.do?bug_id=6391197 Verified for 3.5M6 |