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: Problem with static fields and indirect-dispatch


On May 11, 2006, at 6:53 AM, Andrew Haley wrote:

Casey Marshall writes:
Hi, I'm seeing a problem with a 4.2.0 snapshot. The following program
fails to run; without the patch mentioned, it still fails, but in
`java.lang.Class.initializeClass,' not in `testbc.<clinit>'. Without
the patch, it fails at line 1663 of link.cc, which is the `if' in:

   jstring *strp = (jstring *) f->u.addr;
   if (*strp)
     *strp = _Jv_NewStringUTF8Const ((_Jv_Utf8Const *) *strp);

Running this interpreted, or compiled directly works; compiling it
with -findirect-dispatch and launching it with `gij' fails.

This works for me with svn HEAD.



OK. I have to run the weekly snapshots, because corporate wisdom prevents me from using SVN.


Hmm, it looks like there was a missing line in the patch I posted.
This was in the actual checkin of the patch.  For the record, the
missing line was:


I'll try using that. Thanks.

Attachment: PGP.sig
Description: This is a digitally signed message part


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