[8u$N] Request for phase approval for CR 8164908 ReflectionFactory support for IIOP and custom serialization

Roger Riggs Roger.Riggs at Oracle.com
Thu Dec 8 16:25:58 UTC 2016


Please approve the backport of enhancements to 
sun.reflect.ReflectionFactory[1] to facilitate
the transition of custom serialization libraries to the strong 
encapsulation in JDK 9.

Issue:
   https://bugs.openjdk.java.net/browse/JDK-8164908

Webrev:
http://cr.openjdk.java.net/~rriggs/webrev-reflect-factory-8164908/

Review thread:
http://mail.openjdk.java.net/pipermail/jdk8u-dev/2016-November/006171.html
   Reviewed by: chegar and  (offline) psandoz

The methods added to ReflectionFactory are used as replacements for the
use of setAccessible to access private methods specific to serialization.

The risk is minimal for JDK 8.
   The new methods have been implemented in JDK 9 and are used by the 
JDK 9 IIOP implementation.
   Tests for the new APIs are included in JDK 9 and are included in the 
backport.
   To minimize risk to JDK 8, the IIOP implementation is not modified.

Thanks, Roger


More information about the jdk8u-dev mailing list