-
Notifications
You must be signed in to change notification settings - Fork 323
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
Reduce set of JDK modules required by Enso #9868
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Didn't get that comment about the compiler dependency.
@@ -1,8 +1,8 @@ | |||
open module org.enso.runtime { | |||
requires java.base; | |||
requires java.net.http; | |||
// compiler shall not be need |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This commit is the answer. engine/runtime
needed a transitive dependency on java.compiler
because of using String
constant from interpreter-dsl
project.
engine/runtime-integration-tests/src/test/java/org/enso/interpreter/test/BinaryOpFloatTest.java
Show resolved
Hide resolved
One (unrelated) test failure: https://github.com/enso-org/enso/actions/runs/8983445979/job/24673241959?pr=9868#step:7:2517 - merging.
|
Fixes regression introduced by #9868 - language server still needs dependency on `java.desktop` and `java.se`.
Pull Request Description
On a quest to #9774 analyze content and size of
runner
native image, let's simplify module info to avoid modules likejava.desktop
, if possible.Checklist
Please ensure that the following checklist has been satisfied before submitting the PR:
Scala,
Java,