Summary: | Forward references unilaterally dissallowed | ||
---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | Reid Jones <reid.a.jones> |
Component: | Core | Assignee: | Philipe Mulet <philippe_mulet> |
Status: | VERIFIED FIXED | QA Contact: | |
Severity: | major | ||
Priority: | P3 | CC: | Olivier_Thomann |
Version: | 2.0 | ||
Target Milestone: | 2.1 M4 | ||
Hardware: | Sun | ||
OS: | Solaris | ||
Whiteboard: |
Description
Reid Jones
2002-11-18 14:04:34 EST
No, this is definitely new. Need to check the spec. Jikes 1.15 rejects it, but Jikes 1.17 accepts it. Olivier - can you please look for a URL to this bug in javac database ? This is a link pointing to this problem. http://developer.java.sun.com/developer/bugParade/bugs/4459133.html If the reference is an assignement, then it should not complain about an invalid forward reference. See latest specs: http://java.sun.com/docs/books/jls/second_edition/html/classes.doc.html#287406 Jacks test suite has some related tests. Add CC Indeed the spec is pretty clear, assignments should be allowed to perform on forward references. Assignments will no longer complain about forward references. Fixed. Verified. |