-
Notifications
You must be signed in to change notification settings - Fork 375
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
ClassNotFoundException when running JettyLauncher with Java 9 #9561
Comments
Another "workaround" is to just ignore the message: it's only logged with error level, it's not a breakage. I agree we should find a way to silence this though. |
@TDesjardins: I fixed this and submit a patch to gerrit. |
any progress here? |
Use Jetty Preventers Bug: gwtproject#9561 Bug-Link: gwtproject#9561 Change-Id: Ib7818125b825f32e573ab8ee858d2b152d9de729
still happens with 2.9.0-RC1 |
Once we update the jetty version, we can remove this GC workaround and the message will stop. For now, the error can be safely ignored. |
OK |
Is there any target version for this update / workaround / message hiding? |
Any update on this? It's been 3 and a half years since the patch was submitted. |
Use Jetty Preventers Bug: gwtproject#9561 Bug-Link: gwtproject#9561 Change-Id: Ib7818125b825f32e573ab8ee858d2b152d9de729
We upgraded Jetty, but failed to remove this call - it will be removed in the next version. |
Use Jetty Preventers Bug: gwtproject#9561 Bug-Link: gwtproject#9561 Change-Id: Ib7818125b825f32e573ab8ee858d2b152d9de729
- java.lang.NoSuchMethodError: org.eclipse.jetty.server.ServerConnector.setSoLingerTime(I)V - java.lang.ClassNotFoundException: sun.misc.GC -- gwtproject/gwt#9561
Use Jetty Preventers Bug: gwtproject#9561 Bug-Link: gwtproject#9561 Change-Id: Ib7818125b825f32e573ab8ee858d2b152d9de729
GWT version: 2.8.2
JDK: 1.9
Description
When running GWTUnitTests with Java9 in ProdMode the following Error occures in log:
See also: https://travis-ci.org/TDesjardins/gwt-ol/jobs/291208146#L1547
The cause is presumably that a class (sun.misc.GC) has been moved in Java 9:
https://bugs.openjdk.java.net/browse/JDK-8153286
which is used in the JettyLauncher:
gwt/dev/core/src/com/google/gwt/dev/shell/jetty/JettyLauncher.java
Line 899 in a90832f
Steps to reproduce
https://travis-ci.org/TDesjardins/gwt-ol/jobs/291208146
Known workarounds
Use Java 8
The text was updated successfully, but these errors were encountered: