Libjava failures status

Tom Tromey tromey@redhat.com
Tue Mar 12 09:36:00 GMT 2002


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

>> Concerning the memory traps, Java has references and bounding
>> checks on arrays. How can one even access trapping memory in Java?

Andrew> Integer i = null;
Andrew> System.out.print (i);
Actually, this should print "null", due to how
StringBuffer.append(Object) is defined. Something like this will trap:
 Integer i = null;
 int x = i.intValue ();
Tom


More information about the Java mailing list

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