libjava status on Solaris 8/Intel and IRIX 6.5

Tom Tromey tromey@redhat.com
Mon Mar 18 15:13:00 GMT 2002


>>>>> "Andrew" == Andrew Haley <aph@redhat.com> writes:

>> void barf (java::lang::grope *poo)
>> {
>> ref<java::lang::grope> no_really = poo;
>> 
>> ... hope you don't use `poo' by mistake in here, since it will
>> silently "work" ...
>> 
>> }

Andrew> I don't understand.  Why won't using a smart pointer as the
Andrew> arg work?

If this is a method, which most CNI code is, then the name of the
method must mangle in a way compatible with gcj.  I guess we could
change the gcj mangling algorithm.

Tom



More information about the Java mailing list