-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Jetty fails to start on OpenJDK 9: "Invalid Java version 9.0.1.3" #2090
Comments
Can you show your start command (maven, command line, embedded?) and the actual output? |
Exception in thread "main" java.lang.ExceptionInInitializerError |
I use embedded Jetty. I start the application using a generated script (appassembler-maven-plugin) only added the "--add-modules java.xml.bind" to the arguments to make sure it works. |
@IvoLimmen it is definitely a new bug. We now need to be a lot more java version sensitive because of java 9 features... but we did not anticipate 4 part version numbers. Fix is coming. |
We need to comply with http://openjdk.java.net/jeps/223 |
I've pushed a fix to jetty-9.4.x branch. |
…2094) * shaded TopologicalSort. Use shaded start in jetty-home * removed unused property * jetty-start shaded dependency * removed component dependencies from TopologicalSort Signed-off-by: Greg Wilkins <gregw@webtide.com>
I've merged the PR, as even though it is not totally agreed, we already had half a solution in the jetty-9.4.x branch. Currently the risk is that we may break anybody that directly consumes jetty-start.jar as a maven dependency. I think the risk is small and they have the option to do excludes and/or use the shaded jar when they upgrade, so let's give it a go. |
Jetty (bom) version: 9.4.8.v20171121
OpenJDK version:
openjdk version "9.0.1.3"
OpenJDK Runtime Environment (Zulu build 9.0.1.3+11)
OpenJDK 64-Bit Server VM (Zulu build 9.0.1.3+11, mixed mode)
The text was updated successfully, but these errors were encountered: