Summary: | Cannot resolve Inner Class reference | ||
---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | alan dodridge <alan_dodridge> |
Component: | Core | Assignee: | JDT-Core-Inbox <jdt-core-inbox> |
Status: | RESOLVED WONTFIX | QA Contact: | |
Severity: | normal | ||
Priority: | P3 | ||
Version: | 2.1 | ||
Target Milestone: | 2.1 RC4 | ||
Hardware: | PC | ||
OS: | Windows NT | ||
Whiteboard: |
Description
alan dodridge
2003-03-25 13:27:39 EST
Such a reference is forbidden as per JLS 6.5.6. int a = tpc.TestInnerClass.i; should be written int a = TestParentClass.TestInnerClass.i; Some 1.3 compilers were too permissive. Most 1.4 compilers are doing the proper thing. Eclipse is enforcing the spec here. |