This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: possible runtime class intialization error
- From: Tom Tromey <tromey at redhat dot com>
- To: <martin_aliger at email dot cz>
- Cc: <java at gcc dot gnu dot org>
- Date: 12 Nov 2002 09:18:12 -0700
- Subject: Re: possible runtime class intialization error
- References: <3DD0A671.000001.03796@email1.atc.cz>
- Reply-to: tromey at redhat dot com
>>>>> "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