[8u] RFR: JDK-8231584: Deadlock with ClassLoader.findLibrary and System.loadLibrary call

Anton Kozlov akozlov at azul.com
Wed Oct 16 16:06:29 UTC 2019


Please review backport of https://bugs.openjdk.java.net/browse/JDK-8231584

The change resolves a deadlock that was reported as JDK-8194653, but it have not fixed in openjdk 8u yet.

Webrev: http://cr.openjdk.java.net/~akozlov/8231584/u8.webrev/

Changes for backport are:
* comment in ClassLoader.java updated to match to jdk/jdk
* ClassLoader's initLibraryPaths called in different place of System that predates modules system
* test lost import of package of CompilerUtils, it's package-less in 8u


More information about the jdk8u-dev mailing list