gcj and UDP datagrams under freebsd

Bryce McKinlay bryce@waitaki.otago.ac.nz
Fri Apr 12 21:30:00 GMT 2002


Loren James Rittle wrote:
>>So if hash synchronization is in use then clearly the problem is that 
>>>class-> name is null. Inspection with GDB reveals that the class name is 
>>>actually at class->name+4. But I'm not sure how my patch would have 
>>caused this to happen!
>>>>Ah... that explains the crash at least.
>
OK, duh. Class types are made up with a field_decls for their 
superclasses, so for example java.lang.Object is just a static field 
inside java.lang.Class. Setting TYPE_ALIGN on every class type results 
in the java.lang.Object fields being aligned as well within the 
java.lang.Class object. Since C++ doesn't know about this it crashes.
Could you take this one for a spin?
regards
Bryce.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: java-align-2.patch
URL: <http://gcc.gnu.org/pipermail/java/attachments/20020412/06fcea60/attachment.ksh>


More information about the Java mailing list

AltStyle によって変換されたページ (->オリジナル) /