Summary: | 3.4.2 breaks forward referencing to static final constants in enum | ||
---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | Nobody - feel free to take it <nobody> |
Component: | Core | Assignee: | JDT-Core-Inbox <jdt-core-inbox> |
Status: | VERIFIED INVALID | QA Contact: | |
Severity: | normal | ||
Priority: | P3 | CC: | Olivier_Thomann |
Version: | 3.4.2 | ||
Target Milestone: | 3.5 M6 | ||
Hardware: | PC | ||
OS: | Windows Vista | ||
Whiteboard: |
Description
Nobody - feel free to take it
2009-03-12 05:20:11 EDT
*** This bug has been marked as a duplicate of bug 263877 *** This is not a duplicate, just an invalid forward reference rejected by all compilers... Close as INVALID I forgot to log the error I got while compiling comment 0 test case with Sun JDKs... Using Sun JDK 6.0: java version "1.6.0_14-ea" Java(TM) SE Runtime Environment (build 1.6.0_14-ea-b01) OpenJDK Client VM (build 14.0-b10, mixed mode) Test.java:4: illegal forward reference TEST_ENUM(FORWARD_REF); ^ 1 error Using JDK 1.5.0: java version "1.5.0_18-ea" Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_18-ea-b01) Java HotSpot(TM) Client VM (build 1.5.0_18-ea-b01, mixed mode) Test.java:4: illegal forward reference TEST_ENUM(FORWARD_REF); ^ 1 error (In reply to comment #4) > I forgot to log the error I got while compiling comment 0 test case with Sun > JDKs... > Also forgot to mention that that test case was missing a ';' at the end of TEST_ENUM(FORWARD_REF) line and that I added it to avoid other noisy compilation errors... My apologies. If i had double checked my code this bug would indeed have been a duplicate of 255452. My intention was to report the bug defined there. I guess you meant: TEST_ENUM(Test.FORWARD_REF); Closing as VERIFIED. Yep... |