Looks fine to me. Also copying Mandy to see if she is ok with this.

--Sean

On 06/06/2016 01:40 AM, Bhanu Gopularam wrote:
Hi all,

Please review fix for following bug :

Bug - https://bugs.openjdk.java.net/browse/JDK-8062758

Issue - Test java/security/Security/ClassLoaderDeadlock/Deadlock2.sh started 
failing after removal of java.ext.dirs option

Actually the test loads two classes SunJCE provider class (uses ExtClassLoader 
in 8) and java.xml.parsers.DocumentBuilderFactory (loaded by bootstrap 
classloader) class using two separate threads simultaneously. In jdk-9 the 
provider classes are part of java.base and loaded by bootstrap loader. The ext 
classloader is replaced by platform classloader which is confined to load 
classes from modules only. Removing this particular test as scenario mentioned 
in it is not possible with new JDK-9 changes.

Webrev - http://cr.openjdk.java.net/~bgopularam/8062758/webrev.00

Thank you,
Bhanu

Reply via email to