Inexplicable Parameter-Passing Phenomena w/MinGW GCJ

Mohan Embar gnustuff@thisiscool.com
Wed Sep 10 16:40:00 GMT 2003


Hi Andrew,

>Right, so the method table offset is wrong.
>
> > I'm pretty sure that everything is in sync. I even did a clean get and build
> > of everything from CVS last night. Do you have any advice as to how
> > the wrong CNI-native method could get invoked? Or any tips at all?
>
><Deep Thought mode>  All right, ... You're really not going to like it.
>
>I would look at some assembly code.  For whatever reason, the caller
>and the called have different opinions about the method table offset
>of setSoTimeout().
>
>I still wonder if the compiler might be looking at different versions
>of DatagramSocket.

Thanks for the tips. I'll give this another go tonight.

-- Mohan
http://www.thisiscool.com/
http://www.animalsong.org/






More information about the Java mailing list