This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: possible runtime class intialization error


>>>>> "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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]