classpath
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Another Classpath / Kissme incompatibility


From: Brian Jones
Subject: Re: Another Classpath / Kissme incompatibility
Date: 26 Apr 2003 19:44:17 -0400
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2

Casey Marshall <address@hidden> writes:

> > Without this change, I found that the static FileDescriptor fields
> > had value null; i.e. they were being clobbered after nativeInit9)
> > had set them.  I didn't look at the bytecodes, but my guess is
> > that Jikes is emitting an opcode to initialize the fields, even
> > though this may be notionally unnecessary.
> >
> 
> That was because the null-initializations came after the static
> intitializer -- java compilers (as per the JLS) should combine
> static intitializations and the explicit static intitializer into a
> single static code block, in the order they appear in the file.
> 
> See:
> http://java.sun.com/docs/books/jls/second_edition/html/execution.doc.html#44630
> (step 8).

If there is a Jikes bug in here somewhere could one of you get it to
the Jikes developer's bug system?

Brian
-- 
Brian Jones <address@hidden>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]