-
Notifications
You must be signed in to change notification settings - Fork 459
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
Freshmark doesn't work on JDK 15 due to missing Nashorn #803
Labels
Comments
Thanks! We should build this into Spotless transparently. We can do it like this:
I'm still on Java 8 personally, so this isn't going to make the top of my TODO anytime soon. Happy to take a PR! We're already doing CI on JRE 15, so the testing part should be pretty straightforward. |
beegee1
pushed a commit
to beegee1/spotless
that referenced
this issue
Sep 2, 2022
nedtwigg
added a commit
to diffplug/jscriptbox
that referenced
this issue
Feb 5, 2023
nedtwigg
added a commit
that referenced
this issue
Feb 5, 2023
Fixed in |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Nashorn was removed in JDK 15, and freshmark depends on it so crashes.
Gradle version: 6.8.2
JDK version: AdoptOpenJDK jdk-15.0.1.9-hotspot
OS version: Windows 10 20H2
Freshmark config:
This can be worked around by adding nashorn-core to the buildscript classpath:
buildscript { repositories { mavenCentral() } dependencies { classpath("org.openjdk.nashorn:nashorn-core:15.2") } }
The text was updated successfully, but these errors were encountered: