> On Jun 5, 2016, at 10:40 PM, Bhanu Gopularam > <bhanu.prakash.gopula...@oracle.com> 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
Removing this test seems okay since there are existing tests checking for deadlocks. Mandy