ClassLoader.loadLibrary NullPointerException Regression in 8u242
Anton Kozlov
akozlov at azul.com
Mon Jan 27 08:20:26 UTC 2020
Hi, Chris,
Thanks for report.
In the report to correto you wrote
> You can use their docker container to reproduce the bug though
> change the version to https://corretto.aws/downloads/resources/8.242.07.1/amazon-corretto-8.242.07.1-linux-x64.tar.gz
> hit the server on http://localhost:8111/
> exception is logged to /opt/teamcity/logs/catalina.out
> I can explain more if there is interest.
I'm trying to reproduce. But if you can provide more detailed steps, it would help.
Thanks,
Anton
On 26.01.2020 01:37, Chris Smith wrote:
> I'm hitting a regression in 8u242b08 in the ClassLoader that wasn't in
> 8u232b09
>
>
> Caused by: java.lang.NullPointerException
> at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1847)
> at java.lang.Runtime.loadLibrary0(Runtime.java:871)
> at java.lang.System.loadLibrary(System.java:1124)
> at sun.net.ExtendedOptionsImpl.lambda$static$0(ExtendedOptionsImpl.java:48)
> at java.security.AccessController.doPrivileged(Native Method)
> at sun.net.ExtendedOptionsImpl.<clinit>(ExtendedOptionsImpl.java:47)
>
>
> I believe the issue was introduced here and released in 8u242
> https://bugs.openjdk.java.net/browse/JDK-8231584
> https://github.com/openjdk/jdk/commit/4b7bbaf5b001c17e3bcd8d8ec7e4cb2d66e795e5
>
>
> And potentially resolved here, though I'm not setup to verify this.
> https://bugs.openjdk.java.net/browse/JDK-8236075
> https://github.com/openjdk/jdk/commit/c639682887a83b98469ad1378de6a0db84b87c9f
>
>
> I can reproduce the error running both adoptopenjdk and Amazon's Corretto
> release where I provided some more information
> https://github.com/corretto/corretto-8/issues/212
>
> Please let me know if I can provide any more information that would be
> helpful.
>
> Chris
>
More information about the jdk8u-dev
mailing list