hg: macosx-port/macosx-port/jdk: 3 new changesets
astrange at apple.com
astrange at apple.com
Fri Jul 8 16:16:04 PDT 2011
Changeset: c6334146005c
Author: Greg Lewis <glewis at eyesbeyond.com>
Date: 2011-07-07 23:46 -0700
URL: http://hg.openjdk.java.net/macosx-port/macosx-port/jdk/rev/c6334146005c
. Try harder to make sure the flags returned from getFlags isn't negative,
since a number of places in the code check for that and assume that it
means an error occurred. On FreeBSD, in particular, the value of
ifr_flags can be negative if multicast is enabled on the socket since
the possible flags have expanded to fill more than a short.
For FreeBSD, we fill the int return value with ifr_flagshigh in the high
16 bits and ifr_flags in the low 16 bits. For the other BSD, instead of
blindly promoting ifr_flags to an int, which will preserve the sign, we
place it into the lower 16 bits of the return value.
Reported by: Alex Hayward <xelah-freebsd-pr at xelah.com>
! src/solaris/native/java/net/NetworkInterface.c
Changeset: 8bef30b68af9
Author: astrange
Date: 2011-07-08 15:12 -0700
URL: http://hg.openjdk.java.net/macosx-port/macosx-port/jdk/rev/8bef30b68af9
Automated merge with http://hg.openjdk.java.net/bsd-port/bsd-port/jdk
! src/solaris/native/java/net/NetworkInterface.c
Changeset: 8400fd7344ca
Author: astrange
Date: 2011-07-08 16:15 -0700
URL: http://hg.openjdk.java.net/macosx-port/macosx-port/jdk/rev/8400fd7344ca
Automated merge with ssh://hg.openjdk.java.net/macosx-port/macosx-port/jdk
More information about the macosx-port-dev
mailing list