[8u-dev] Request for approval for backporting native code cleanup fixes in JDK9

Naoto Sato naoto.sato at oracle.com
Tue Nov 1 21:39:17 UTC 2016


Hi,

Please approve this bulk update for backporting the native code cleanup 
fixes in JDK9 into JDK8u-dev. Here is the list of JBS issues fixed in JDK9.

8025306: Inet[4|6]Address class and fieldID initialization in networking 
native code
8028725: [Parfait] warnings from b116 for 
jdk.src.solaris.native.java.net: JNI pending exceptions
8028769: Check src/share/native/java/lang/*.c for cases when JNI calls 
are used with pending warnings
8029018: (bf) Check src/share/native/java/nio/Bits.c for JNI pending 
exceptions
8030116: (process) Check Parfait warnings in src/solaris/native/java/lang/*
8031586: Check jdk/src/*/native/com/sun/security/auth/module for pending 
JNI exceptions
8031588: warnings from b03 for 
jdk/src/share/native/sun/security/jgss/wrapper: JNI exception pending
8033371: jdk/src/solaris/native/java/lang/ProcessEnvironment.c environ 
doesn't check for JNI pending exceptions
8033372: Check jdk/src/share/native/java/lang for JNI pending exception 
issues
8034102: Check solaris/native/sun/nio/fs/MacOSXNativeDispatcher.c for 
JNI pending exceptions
8037909: JNI warnings in jdk/src/windows/native/java/nio/MappedByteBuffer.c
8038075: JNI warnings in jdk/src/share/native/sun/misc/VMSupport.c
8046893: JNI exception pending in jdk/src/solaris/native/java/net: 
ExtendedOptionsImpl.c, PlainDatagramSocketImpl.c
8046901: Check jdk/src/solaris/native/sun/nio for Parfait flagged 
uninitialized memory
8055204: Memory leak in jdk/src/windows/native/java/lang/java_props_md.c
8064470: JNI exception pending in 
jdk/src/java/base/unix/native/libjava/FileDescriptor_md.c
8073542: File Leak in 
jdk/src/java/base/unix/native/libnet/PlainDatagramSocketImpl.c
8080486: JNI exception pending in 
jdk/src/java.base/windows/native/libnet/DualStackPlainSocketImpl.c
8168405: Pending exceptions in java.base/windows/native

Here is the webrev:

http://cr.openjdk.java.net/~naoto/native_code_cleanup/webrev.00/

After unshuffling (if needed) the changesets in JDK9, fixes are applied 
to JDK8u-dev intact, or by resolving simple conflicts. Changes have been 
reviewed internally by Brian Burkhalter and Chris Hegarty.

Naoto



More information about the jdk8u-dev mailing list