Skip to content
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

Logger crashes on Java 9 #6

Closed
tigersoldier opened this issue Feb 20, 2018 · 1 comment
Closed

Logger crashes on Java 9 #6

tigersoldier opened this issue Feb 20, 2018 · 1 comment
Assignees
Labels

Comments

@tigersoldier
Copy link
Owner

sun.misc.SharedSecrets is no longer available on Java 9

Exception in thread "main" java.lang.NoClassDefFoundError: sun/misc/SharedSecrets
	at org.javacomp.logging.JLogger.findCallerStackTraceElement(JLogger.java:158)
	at org.javacomp.logging.JLogger.log(JLogger.java:148)
	at org.javacomp.logging.JLogger.fine(JLogger.java:140)
	at org.javacomp.server.io.RequestReader.fillBuffer(RequestReader.java:144)
	at org.javacomp.server.io.RequestReader.readLine(RequestReader.java:66)
	at org.javacomp.server.RequestParser.parseHeader(RequestParser.java:58)
	at org.javacomp.server.RequestParser.parse(RequestParser.java:42)
	at org.javacomp.server.RequestDispatcher.dispatchRequest(RequestDispatcher.java:62)
	at org.javacomp.server.JavaComp.run(JavaComp.java:97)
	at org.javacomp.server.JavaComp.main(JavaComp.java:239)
Caused by: java.lang.ClassNotFoundException: sun.misc.SharedSecrets
	at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:582)
	at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:185)
	at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:496)
	... 10 more
@tigersoldier
Copy link
Owner Author

Fixed by 0ba6c57

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant