possible runtime class intialization error

Tom Tromey tromey@redhat.com
Tue Nov 12 08:53:00 GMT 2002


>>>>> "Martin" == Martin Aliger <martin_aliger@email.cz> writes:

Martin> Note the deference in "const 1" line...

Mostly likely it is a bug in the front end.  However, since I can't
see the code, I can't be sure.

Martin> Code is using very strange (for me as language purist)
Martin> constuct of interface consisting only of static constants and
Martin> classes implementing such interface.

This approach isn't really all that unusual.
In libgcj we use this in java.util.zip (or did at one time, I didn't
look today).

Tom



More information about the Java mailing list