RFR JDK-8181425: Reflection API defend against issues with internal VM derived value type
Mandy Chung
mandy.chung at oracle.com
Tue Jun 20 20:31:23 UTC 2017
http://cr.openjdk.java.net/~mchung/valhalla/webrevs/8181425/webrev.00/index.html
This patch changes Class::forName to not to return DVT classes
and also disallows reflection API get members of a DVT class.
ClassLoader::loadClass should probably be changed and I can
fix that separately.
I added a couple of new tests and also fix the MVT tests with
GPL header rather than GPL+CP header.
Mandy
More information about the valhalla-dev
mailing list