mirror of
https://github.com/enso-org/enso.git
synced 2024-12-25 08:03:14 +03:00
5a7ad6bfe4
Upgrade to GraalVM JDK 21. ``` > java -version openjdk version "21" 2023-09-19 OpenJDK Runtime Environment GraalVM CE 21+35.1 (build 21+35-jvmci-23.1-b15) OpenJDK 64-Bit Server VM GraalVM CE 21+35.1 (build 21+35-jvmci-23.1-b15, mixed mode, sharing) ``` With SDKMan, download with `sdk install java 21-graalce`. # Important Notes - After this PR, one can theoretically run enso with any JRE with version at least 21. - Removed `sbt bootstrap` hack and all the other build time related hacks related to the handling of GraalVM distribution. - `project-manager` remains backward compatible - it can open older engines with runtimes. New engines now do no longer require a separate runtime to be downloaded. - sbt does not support compilation of `module-info.java` files in mixed projects - https://github.com/sbt/sbt/issues/3368 - Which means that we can have `module-info.java` files only for Java-only projects. - Anyway, we need just a single `module-info.class` in the resulting `runtime.jar` fat jar. - `runtime.jar` is assembled in `runtime-with-instruments` with a custom merge strategy (`sbt-assembly` plugin). Caching is disabled for custom merge strategies, which means that re-assembly of `runtime.jar` will be more frequent. - Engine distribution contains multiple JAR archives (modules) in `component` directory, along with `runner/runner.jar` that is hidden inside a nested directory. - The new entry point to the engine runner is [EngineRunnerBootLoader](https://github.com/enso-org/enso/pull/7991/files#diff-9ab172d0566c18456472aeb95c4345f47e2db3965e77e29c11694d3a9333a2aa) that contains a custom ClassLoader - to make sure that everything that does not have to be loaded from a module is loaded from `runner.jar`, which is not a module. - The new command line for launching the engine runner is in [distribution/bin/enso](https://github.com/enso-org/enso/pull/7991/files#diff-0b66983403b2c329febc7381cd23d45871d4d555ce98dd040d4d1e879c8f3725) - [Newest version of Frgaal](https://repo1.maven.org/maven2/org/frgaal/compiler/20.0.1/) (20.0.1) does not recognize `--source 21` option, only `--source 20`. |
||
---|---|---|
.. | ||
com.chuusai.shapeless_2.13-2.3.10 | ||
com.typesafe.akka.akka-actor_2.13-2.6.20 | ||
com.typesafe.akka.akka-http_2.13-10.2.10 | ||
com.typesafe.akka.akka-http-core_2.13-10.2.10 | ||
com.typesafe.akka.akka-parsing_2.13-10.2.10 | ||
com.typesafe.akka.akka-protobuf-v3_2.13-2.6.20 | ||
com.typesafe.akka.akka-slf4j_2.13-2.6.20 | ||
com.typesafe.akka.akka-stream_2.13-2.6.20 | ||
com.typesafe.config-1.4.2 | ||
com.typesafe.scala-logging.scala-logging_2.13-3.9.4 | ||
com.typesafe.ssl-config-core_2.13-0.4.3 | ||
commons-io.commons-io-2.12.0 | ||
files-add | ||
io.circe.circe-core_2.13-0.14.5 | ||
io.circe.circe-generic_2.13-0.14.5 | ||
io.circe.circe-jawn_2.13-0.14.5 | ||
io.circe.circe-numbers_2.13-0.14.5 | ||
io.circe.circe-parser_2.13-0.14.5 | ||
io.circe.circe-yaml_2.13-0.14.2 | ||
nl.gn0s1s.bump_2.13-0.1.3 | ||
org.apache.commons.commons-compress-1.23.0 | ||
org.graalvm.polyglot.polyglot-23.1.0 | ||
org.graalvm.sdk.collections-23.1.0 | ||
org.graalvm.sdk.nativeimage-23.1.0 | ||
org.graalvm.sdk.word-23.1.0 | ||
org.graalvm.truffle.truffle-api-23.1.0 | ||
org.reactivestreams.reactive-streams-1.0.3 | ||
org.scala-lang.modules.scala-java8-compat_2.13-1.0.0 | ||
org.scala-lang.modules.scala-parser-combinators_2.13-1.1.2 | ||
org.scala-lang.scala-library-2.13.11 | ||
org.scala-lang.scala-reflect-2.13.11 | ||
org.slf4j.slf4j-api-2.0.9 | ||
org.typelevel.cats-core_2.13-2.9.0 | ||
org.typelevel.cats-kernel_2.13-2.9.0 | ||
org.typelevel.jawn-parser_2.13-1.4.0 | ||
org.yaml.snakeyaml-1.33 | ||
reviewed-licenses | ||
notice-header | ||
report-state |