-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
Remove usage of javax.xml.bind.DatatypeConverter (removed in Java 9) #5027
Comments
but there is error during compilation when target is
|
can you share how you use Checkstyle ? to know where such problem could happen. |
It doesn't work here. I have created the exact same
Also note, that I'm on macOS.
|
fix is merged, I hope it will work for all. |
Since #3093 Checkstyle uses javax.xml.bind.DatatypeConverter to create a hex string of an SHA1 hash.
JDK 9 marks the package (module) javax.xml.bind as deprecated for removal - javadoc. Whole list of deprecations - here .
More dramatically, the current use in Checkstyle results in a NoClassDefFoundError/ClassNotFoundException if java weren't started with the --add-modules javax.xml.bind parameter.
The text was updated successfully, but these errors were encountered: