Hi
   please oblige and review the following changes
http://cr.openjdk.java.net/~msheppar/8146975/jdk9/webrev/

http://cr.openjdk.java.net/~msheppar/8146975/jdk9/test/webrev/

which address the issue raised in
https://bugs.openjdk.java.net/browse/JDK-8146975

the type checking in inputClassFields and other places failed to fully allowing for the processing of return ValueTypes, and hence the getDeclaredField fails as "application code" exist on the call stack restricting access. This leads to a security exception, which in turn leads to an IllegalArgumentExcetption, the processing of which failed to allow
for a null object value in the stream.
This has now been rectified, with the getDeclaredField wrapped in a doPrivileged call.

regards
Mark

Reply via email to