[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openjdk-jigsaw-dev
Subject:    Re: ReflectionFactory is not sufficient to support custom serialization libraries
From:       Alan Bateman <Alan.Bateman () oracle ! com>
Date:       2017-12-19 19:45:11
Message-ID: b44fedcc-2c34-98e1-cda2-59db00cd1cfb () oracle ! com
[Download RAW message or body]

On 19/12/2017 19:06, David Lloyd wrote:
> :
> It looks like they are using Unsafe for accessing fields, unless I've
> missed something (I'm looking at sun.corba.Bridge).
>
That's right, this hasn't changed. The issue is that legacy 
serialization is fundamentally incompatible with strong encapsulation. 
We did the minimum in JDK 9 (and 8uX) so that custom serialization 
libraries using Unsafe had a solution to work with modules. The IIOP 
implementation in the java.corba module was the guinea pig.

-Alan
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic