Summary: | [1.5] non static class must not be visible through static import | ||
---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | David Audel <david_audel> |
Component: | Core | Assignee: | Kent Johnson <kent_johnson> |
Status: | VERIFIED FIXED | QA Contact: | |
Severity: | normal | ||
Priority: | P3 | ||
Version: | 3.0 | ||
Target Milestone: | 3.1 M7 | ||
Hardware: | PC | ||
OS: | Windows XP | ||
Whiteboard: |
Description
David Audel
2005-05-10 06:34:54 EDT
another problem in the same area package a; import static pkgstaticimport.QQType1.*; import pkgstaticimport.QQType1.*; public class Test { void foo() { Inner1 i; Inner2 j; } } We find 2 errors The type Inner1 is ambiguous The type Inner2 is ambiguous and javac 0 error. Added StaticImport test030 Verified in I20050510-0010 + JDT/Core HEAD |