RFR 9: 8164908: ReflectionFactory support for IIOP and custom serialization
Roger.Riggs at Oracle.com
Thu Oct 20 17:06:02 UTC 2016
Thanks for the reminder, I'll include readObjectNoData in the next update.
(fyi, readObject, readObjectNoData, and writeObject must be private
On 10/20/2016 9:12 AM, David M. Lloyd wrote:
> On 10/19/2016 02:59 PM, Roger Riggs wrote:
>> 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,
>> 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
>> Tests are included for ReflectionFactory and the affected IIOP classes.
>> Please review and comment,
>> jdk repo webrev:
>> corba repo webrev :
> For the custom serialization case, it is also necessary to access the
> (usually private) readObjectNoData method (if any).
More information about the core-libs-dev