[Bug java/15650] New: Binary Compatibility: definite assignment checking is broken for static fields
aph at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Tue May 25 15:48:00 GMT 2004
This only happens with the source compiler.
We don't notice that a
final x = 10;
field has been assigned, because the assignment is compiled to
this+*(klass->otable[N]) = 10
so we get error messages:
final_int.java:6: error: final field 'x' may not have been initialized
We need to teach check_init() about the otable.
--
Summary: Binary Compatibility: definite assignment checking is
broken for static fields
Product: gcc
Version: 3.5.0
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: java
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: aph at gcc dot gnu dot org
CC: gcc-bugs at gcc dot gnu dot org,java-prs at gcc dot gnu
dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15650
More information about the Java-prs
mailing list