ClassLoader.loadLibrary NullPointerException Regression in 8u242

Chris Smith chris.smith at
Sat Jan 25 22:37:26 UTC 2020

I'm hitting a regression in 8u242b08 in the ClassLoader that wasn't in

Caused by: java.lang.NullPointerException
    at java.lang.ClassLoader.loadLibrary(
    at java.lang.Runtime.loadLibrary0(
    at java.lang.System.loadLibrary(
    at Method)

I believe the issue was introduced here and released in 8u242

And potentially resolved here, though I'm not setup to verify this.

I can reproduce the error running both adoptopenjdk and Amazon's Corretto
release where I provided some more information

Please let me know if I can provide any more information that would be


More information about the jdk8u-dev mailing list