Problem with static fields and indirect-dispatch
Casey Marshall
csm@gnu.org
Thu May 11 16:07:00 GMT 2006
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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 478 bytes
Desc: This is a digitally signed message part
URL: <http://gcc.gnu.org/pipermail/java/attachments/20060511/0fd84e44/attachment.sig>
More information about the Java
mailing list