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

Package with jlink, jdeps, jpackage #574

Open
reid-spencer opened this issue Feb 25, 2024 · 1 comment
Open

Package with jlink, jdeps, jpackage #574

reid-spencer opened this issue Feb 25, 2024 · 1 comment
Assignees
Labels
blocked build Changes having to do with the sbt or github builds

Comments

@reid-spencer
Copy link
Contributor

It is possible since JDK 9 to get a more optimized JDK and runner generated with the various jxxx tools. This should be doable and provide a small benefit, perhaps as the basis of a Brew tap.
This video shows how:
https://www.youtube.com/watch?v=3UCBmdbeYm4

@reid-spencer reid-spencer added the build Changes having to do with the sbt or github builds label Mar 6, 2024
@reid-spencer reid-spencer added this to the 1.0 - First Full Release milestone Mar 6, 2024
@reid-spencer reid-spencer self-assigned this Mar 9, 2024
@reid-spencer
Copy link
Contributor Author

This is blocked by Scala libraries which make use of sun.misc.Unsafe which lives outside the JDK 9 module system and therefore prevents execution of a reduce-by-jlink JDK (java.base only) because it throws a ClassNotFound exception. Consequently this needs to be on hold until scala/scala3#9013 is fixed

@reid-spencer reid-spencer moved this to Blocked in riddl Mar 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
blocked build Changes having to do with the sbt or github builds
Projects
Status: Deferred/Blocked
Development

No branches or pull requests

1 participant