-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
NoClassDefFoundError: sun.misc.Unsafe since version 2.8.3 #1305
Comments
Are you using Java 9? This code path gets exercised only for Java 9. I will remove this spurious stacktrace in the next release. |
Fixed in Gson 2.8.4 through #1306. |
Yes, I am using Java 9. And I am not getting this stacktrace any longer with gson 2.8.4. Thanks for fixing and releasing it so quickly. |
After upgrading gson to version 2.8.3 I receive a NoClassDefFoundError when starting up my WildFly 12 server.
Reproducer:
Stacktrace:
Workaround in WildFly 12 module.xml:
Question:
Why did gson introduce this weird dependency?
The text was updated successfully, but these errors were encountered: