Bug#903769: libcommons-lang3-java: NPE with OpenJDK11 and maven-javadoc
Emmanuel Bourg
ebourg at apache.org
Mon Jul 16 12:20:43 BST 2018
Le 14/07/2018 à 16:54, Erich Schubert a écrit :
> Apparently, the root cause is a NPE here:
>
> Caused by: java.lang.NullPointerException
> at org.apache.commons.lang3.SystemUtils.isJavaVersionAtLeast
> (SystemUtils.java:1654)
>
> and indeed I can reproduce this in jshell:
>
> jshell> import org.apache.commons.lang3.*;
> jshell> SystemUtils.isJavaVersionAtLeast(JavaVersion.JAVA_1_8)
> | Exception java.lang.NullPointerException
> | at SystemUtils.isJavaVersionAtLeast (SystemUtils.java:1654)
> | at (#3:1)
Thank you for the report Erich. What version of OpenJDK 11 did you use?
Could you check the value of the java.specification.version system
property please?
Emmanuel Bourg
More information about the pkg-java-maintainers
mailing list