Java Version now returns 11.0.9.1 also for Linux
SvenMarquardt5772 opened this issue · 2 comments
SvenMarquardt5772 commented
Describe the bug
In the Changelog it says the new patch version is only for mac. But it is now also in the linux version. Because of this some of our librarys crash. They try to parse the version string and do not anticipate a .1 after the 9.
To Reproduce
Update to the latest corretto version. Try to run jetty.
Expected behavior
The application behaviour should not change after a patch update.
Screenshots
Platform information
OS: Amazon Linux 2
Version 4.14.186-146.268.amzn2.x86_64
Additional context
The patch version should not be in the java version output
AdrianMetzner1234 commented
Exception thrown by jetty:
java.lang.IllegalArgumentException: Invalid Java version 11.0.9.1 at org.eclipse.jetty.util.JavaVersion.parseJDK9(JavaVersion.java:71)
SvenMarquardt5772 commented
Problem with old jetty version