[Bug java/28892] New: assignment to static field not in class initializer
tromey at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Tue Aug 29 17:40:00 GMT 2006
Currently we error out if there is an assignment to a static final field
(in a .class file) which is not in the class' static initializer.
This constraint is apparently not enforced by the JDK -- meaning that
we reject class files which run on the JDK. Class files like this are
generated by retroweaver; see:
http://www.kallisti.net.nz/blog/2006/08/emusicj-019-released-now-with-less-mess/
and
http://www.kallisti.net.nz/EMusicJ/HomePage
--
Summary: assignment to static field not in class initializer
Product: gcc
Version: 4.2.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: java
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: tromey at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28892
More information about the Java-prs
mailing list