-
Notifications
You must be signed in to change notification settings - Fork 83
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
Interrest in a version based on standalone Nashorn? #109
Comments
@obourgain Thank you for raising this issue. Sounds like a good idea. Would there be any issues for those using older version of Java? |
It seems that standalone nashorn is compiled to Java 11, so it won't run on older versions. In src/main/java there are only 3 occurences of There are other occurences in tests, one for a cast to I started to work on this here #111 |
Merged the PR to Master, and released as I migrated build to GitHub actions and it builds fine on 11+. I did some initial investigation and checking the compiled JAR for other version, but couldn't yet find of a good/easy way to do this: https://github.com/javadelight/delight-nashorn-sandbox/blob/master/.github/workflows/build.yml#L45 I guess also good to see if this would cause any problems out in the wild, thus added a few comments to the README (https://github.com/javadelight/delight-nashorn-sandbox#maven) and upped the minor version number. |
Closing this issue as changes have been merged. |
Nashorn has been removed from JDK 15 and some people took the maintainance burden https://github.com/openjdk/nashorn.
This version has few changes, the most noticeable one being the change in package name.
Would there be interrest in using this version of Nashorn instead of the JDK one? I can provided a PR in such case.
The text was updated successfully, but these errors were encountered: