FYI: Patch: java.net.InetAddress

Tom Tromey tromey@redhat.com
Mon Sep 29 23:14:00 GMT 2003


>>>>> "Bryce" == Bryce McKinlay <bryce@mckinlay.net.nz> writes:

>> +    // Mask against high order bits of 1110
>> +    if (addr.length == 4)

Bryce> In this case, however, the compiler is hopefully smart enough to
Bryce> optimize out the second load, so it isn't a problem.

If not, let's fix the compiler.  It certainly ought to be able to do
this.  Could you look?

Tom



More information about the Java-patches mailing list