-
Notifications
You must be signed in to change notification settings - Fork 326
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
Provide engine-runner & language-server as a separate JPMS modules #10157
Comments
Related:
Rather than that |
Pavel Marek reports a new STANDUP for today (2024-08-15): Progress: - Starting to migrate engine-runner to JPMS module.
|
Pavel Marek reports a new STANDUP for today (2024-08-16): Progress: - Do not run enterprise engine and stdlib benchmarks #10829.
|
Pavel Marek reports a new STANDUP for today (2024-08-19): Progress: - Continue migration of our internal projects to JPMS modules.
|
Adding a dependency on Scala core library sounds like the correct fix. |
Pavel Marek reports a new STANDUP for today (2024-08-20): Progress: - Providing
|
Pavel Marek reports a new STANDUP for today (2024-08-21): Progress: - Migrating more internal projects to JPMS modules.
|
Pavel Marek reports a new STANDUP for today (2024-08-22): Progress: - Still migrating more projects to JPMS modules and fixing compilation.
|
Pavel Marek reports a new STANDUP for today (2024-08-23): Progress: - Found a way how to compile
|
Pavel Marek reports a new STANDUP for today (2024-08-26): Progress: - Wrappers for akka and zio libraries.
|
Pavel Marek reports a new STANDUP for today (2024-08-27): Progress: - Some tests already run in
|
Pavel Marek reports a new STANDUP for today (2024-08-28): Progress: -
|
Pavel Marek reports a new STANDUP for today (2024-08-29): Progress: -
|
Pavel Marek reports a new STANDUP for today (2024-08-30): Progress: - Many language server tests already succeeds.
|
Pavel Marek reports a new STANDUP for today (2024-09-02): Progress: - Fixing problem with non-functional DirectoryWatcher
|
Pavel Marek reports a new STANDUP for today (2024-09-03): Progress: -
|
Pavel Marek reports a new STANDUP for today (2024-09-04): Progress: - Merged and fixed with develop
|
Pavel Marek reports a new STANDUP for today (2024-09-05): Progress: - Renaming PR almost green, failing on some network transients. Will merge tomorrow.
|
Pavel Marek reports a new STANDUP for today (2024-09-06): Progress: - Our benchmark annotation processor generates sources.
|
Pavel Marek reports a new STANDUP for today (2024-09-09): Progress: - Small interactive session with Jaroslav about annotation processor problems
|
Pavel Marek reports a new STANDUP for today (2024-09-11): Progress: - Finally fixed annotation processing
|
Pavel Marek reports a new STANDUP for the provided date (2024-09-14): Progress: - High level discussion about future of Engine/LS.
|
Pavel Marek reports a new STANDUP for today (2024-09-18): Progress: - Marked the PR as ready for review
|
Pavel Marek reports a new STANDUP for today (2024-09-19): Progress: - Fixing booting of language server, and project-manager tests
|
Pavel Marek reports a new STANDUP for today (2024-09-20): Progress: - std libraries CI job is already green!
|
Pavel Marek reports a new STANDUP for today (2024-09-23): Progress: - Fixing remaining tests, help from Hubert
|
Pavel Marek reports a new STANDUP for today (2024-09-24): Progress: - With help of Hubert and Jaroslav, got all the other tests passing, along with some nice sbt refactorings
|
Pavel Marek reports a new STANDUP for today (2024-09-25): Progress: - Last nits and reviews
|
Current suboptimal module architecture
runner.jar
is currently a fat plain jar (no a JPMS module) located inbuilt-distribution/component/runner/runner.jar
. System module-path is set tobuilt-distribution/component
.runner.jar
contains all the classes from language-server and their dependencies. It does not contain classes that are on module-path. The original motivation, implemented in #7991, was to make the transition to JPMS as quick and as simple as possible. The idea is roughly as follows:org.enso.runtime
module inEngineRunnerBootLoader
class.IsolatedClassLoader
that either loads classes fromrunner.jar
, or delegates to system class loader.IsolatedClassLoader
loads classes fromrunner.jar
, that is not on the module-path.This design, however, lead to many ugly hacks:
runner.jar
, like all the helidon modules. But we need to put them inside runtime's module-info so that the system class loader can lookup classes from these modules.Better module architecture
runner.jar
should be a modular jar that is on the system's module-path.IsolatedClassLoader
.Tasks
The text was updated successfully, but these errors were encountered: