RFR [16/java.xml] 8248486: SafeThread illegal access to java.lang private fields should be removed

huizhe.wang at oracle.com huizhe.wang at oracle.com
Thu Jul 9 22:23:50 UTC 2020


Hi,

Please review a patch to remove an illegal access to java.lang by the 
SafeThread. Note that InnocuousThread meets all the needs for SafeThread 
except that it also revokes permissions that the xml parser requires. 
This patch uses the new constructor added to Thread in JDK 9 that do not 
inherit inheritable thread-local initial values.


JBS: https://bugs.openjdk.java.net/browse/JDK-8248486

webrev: http://cr.openjdk.java.net/~joehw/jdk16/8248486/webrev/


Thanks,

Joe



More information about the core-libs-dev mailing list