RFR 9: 8164908: ReflectionFactory support for IIOP and custom serialization
Roger Riggs
Roger.Riggs at Oracle.com
Wed Oct 19 19:59:23 UTC 2016
The support in sun.reflect.ReflectionFactory for custom serialization,
such as IIOP input
and output streams, is being expanded beyond the necessary constructor
of a serializable
class to include access to the private methods readObject, writeObject,
readResolve,
writeReplace, etc.
The IIOP implementation is updated to use a combination of
ReflectionFactory and
Unsafe to serialize and deserialize objects and no longer rely on
setAccessible.
Tests are included for ReflectionFactory and the affected IIOP classes.
Please review and comment,
jdk repo webrev:
http://cr.openjdk.java.net/~rriggs/webrev-reflection-factory-8164908/
corba repo webrev :
http://cr.openjdk.java.net/~rriggs/webrev-reflection-factory-iiop-8164908/
Issue:
https://bugs.openjdk.java.net/browse/JDK-8164908
Thanks, Roger
More information about the core-libs-dev
mailing list