Explicit Serialization API and Security

Peter Levart peter.levart at gmail.com
Tue Jan 6 15:06:28 UTC 2015


On 01/06/2015 04:03 PM, Peter Levart wrote:
> private void readObject(ObjectInputStream in) throws IOException, 
> ClassNotFoundException {
>         ObjectInputStream.GetField fields = in.readFields(); // this 
> already validates the types 

Well, not true currently. But type validation could be added at this point.

Peter




More information about the core-libs-dev mailing list