Skip to content

Conversation

@VictorHarbo
Copy link
Collaborator

@VictorHarbo VictorHarbo commented Apr 30, 2024

Building solrwayback with java versions above 15 fails the test class JavascriptTests.
This can be mitigated by changing which JavaScript engine is used to run these tests. Nashorn is discontinued in java 15+ and most services are changing to use GraalVM instead. This PR removes Nashorn and changes to GraalVM, which makes it possible to pass these tests on Java versions before and after 15. I've tested on 11 and 19.

@VictorHarbo VictorHarbo added enhancement dependencies Pull requests that update a dependency file labels Apr 30, 2024
@VictorHarbo VictorHarbo self-assigned this Apr 30, 2024
@VictorHarbo VictorHarbo marked this pull request as draft April 30, 2024 20:24
@VictorHarbo
Copy link
Collaborator Author

Converted to draft as I found a mistake. This update will make the porject not build on java 11 as it is right now.

@VictorHarbo
Copy link
Collaborator Author

I've updated the first comment of this PR as it is now ready. We are not including Nashorn in the POM. I've changed to use GraalVM instead.

@VictorHarbo VictorHarbo marked this pull request as ready for review May 1, 2024 16:43
@VictorHarbo VictorHarbo changed the title Explicit include nashorn Change to GraalVM instead og Nashorn Jul 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file enhancement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants