enso/tools/legal-review/engine
Pavel Marek 5a7ad6bfe4
Upgrade enso to GraalVM for jdk 21 (#7991)
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`.
2023-11-17 18:02:36 +00:00
..
com.beachape.enumeratum_2.13-1.7.2 Scala 2.13.11 and libraries update (#7010) 2023-06-14 13:15:57 +00:00
com.beachape.enumeratum-circe_2.13-1.7.2 Scala 2.13.11 and libraries update (#7010) 2023-06-14 13:15:57 +00:00
com.beachape.enumeratum-macros_2.13-1.6.3 Scala 2.13.11 and libraries update (#7010) 2023-06-14 13:15:57 +00:00
com.chuusai.shapeless_2.13-2.3.10 Scala 2.13.11 and libraries update (#7010) 2023-06-14 13:15:57 +00:00
com.fasterxml.jackson.core.jackson-annotations-2.15.2 Scala 2.13.11 and libraries update (#7010) 2023-06-14 13:15:57 +00:00
com.fasterxml.jackson.core.jackson-core-2.15.2 Scala 2.13.11 and libraries update (#7010) 2023-06-14 13:15:57 +00:00
com.fasterxml.jackson.core.jackson-databind-2.15.2 Scala 2.13.11 and libraries update (#7010) 2023-06-14 13:15:57 +00:00
com.fasterxml.jackson.dataformat.jackson-dataformat-cbor-2.15.2 Scala 2.13.11 and libraries update (#7010) 2023-06-14 13:15:57 +00:00
com.fasterxml.jackson.module.jackson-module-scala_2.13-2.15.2 Scala 2.13.11 and libraries update (#7010) 2023-06-14 13:15:57 +00:00
com.google.errorprone.error_prone_annotations-2.18.0 Scala 2.13.11 and libraries update (#7010) 2023-06-14 13:15:57 +00:00
com.google.flatbuffers.flatbuffers-java-1.12.0 Initial Legal Review (#1210) 2020-10-19 10:50:12 +02:00
com.google.guava.failureaccess-1.0.1 Initial Legal Review (#1210) 2020-10-19 10:50:12 +02:00
com.google.guava.guava-32.0.0-jre Scala 2.13.11 and libraries update (#7010) 2023-06-14 13:15:57 +00:00
com.google.guava.listenablefuture-9999.0-empty-to-avoid-conflict-with-guava Initial Legal Review (#1210) 2020-10-19 10:50:12 +02:00
com.google.j2objc.j2objc-annotations-2.8 Scala 2.13.11 and libraries update (#7010) 2023-06-14 13:15:57 +00:00
com.googlecode.javaewah.JavaEWAH-1.2.3 Eliminate VCS TimeoutExceptions on startup (#8080) 2023-10-18 09:34:08 +00:00
com.ibm.icu.icu4j-73.1 Upgrade enso to GraalVM for jdk 21 (#7991) 2023-11-17 18:02:36 +00:00
com.lihaoyi.fansi_2.13-0.4.0 Execution Context integration for Database write operations (#7072) 2023-06-27 15:51:21 +00:00
com.lihaoyi.sourcecode_2.13-0.3.0 Reduce extra output in compilation and tests (#7809) 2023-10-16 10:57:44 +02:00
com.monovore.decline_2.13-2.4.1 Scala 2.13.11 and libraries update (#7010) 2023-06-14 13:15:57 +00:00
com.thoughtworks.paranamer.paranamer-2.8 Initial Legal Review (#1210) 2020-10-19 10:50:12 +02:00
com.typesafe.akka.akka-actor_2.13-2.6.20 Scala 2.13.11 and libraries update (#7010) 2023-06-14 13:15:57 +00:00
com.typesafe.akka.akka-actor-typed_2.13-2.6.20 Scala 2.13.11 and libraries update (#7010) 2023-06-14 13:15:57 +00:00
com.typesafe.akka.akka-http_2.13-10.2.10 Scala 2.13.11 and libraries update (#7010) 2023-06-14 13:15:57 +00:00
com.typesafe.akka.akka-http-core_2.13-10.2.10 Scala 2.13.11 and libraries update (#7010) 2023-06-14 13:15:57 +00:00
com.typesafe.akka.akka-http-spray-json_2.13-10.2.10 Scala 2.13.11 and libraries update (#7010) 2023-06-14 13:15:57 +00:00
com.typesafe.akka.akka-parsing_2.13-10.2.10 Scala 2.13.11 and libraries update (#7010) 2023-06-14 13:15:57 +00:00
com.typesafe.akka.akka-protobuf-v3_2.13-2.6.20 Scala 2.13.11 and libraries update (#7010) 2023-06-14 13:15:57 +00:00
com.typesafe.akka.akka-slf4j_2.13-2.6.20 Scala 2.13.11 and libraries update (#7010) 2023-06-14 13:15:57 +00:00
com.typesafe.akka.akka-stream_2.13-2.6.20 Scala 2.13.11 and libraries update (#7010) 2023-06-14 13:15:57 +00:00
com.typesafe.config-1.4.2 Update Scala to 2.13.8 (#3631) 2022-08-08 19:32:55 +00:00
com.typesafe.scala-logging.scala-logging_2.13-3.9.4 Update Scala to 2.13.7 (#3214) 2021-12-31 17:50:32 +03:00
com.typesafe.slick.slick_2.13-3.4.1 Batch insert suggestions (#6189) 2023-04-06 07:47:23 +00:00
com.typesafe.ssl-config-core_2.13-0.4.3 Update Scala to 2.13.8 (#3631) 2022-08-08 19:32:55 +00:00
commons-cli.commons-cli-1.5.0 Update Scala to 2.13.7 (#3214) 2021-12-31 17:50:32 +03:00
commons-codec.commons-codec-1.16.0 Upgrade directory-watcher library (#8201) 2023-11-02 11:24:26 +00:00
commons-io.commons-io-2.12.0 Scala 2.13.11 and libraries update (#7010) 2023-06-14 13:15:57 +00:00
dev.zio.izumi-reflect_2.13-2.3.8 Scala 2.13.11 and libraries update (#7010) 2023-06-14 13:15:57 +00:00
dev.zio.izumi-reflect-thirdparty-boopickle-shaded_2.13-2.3.8 Scala 2.13.11 and libraries update (#7010) 2023-06-14 13:15:57 +00:00
dev.zio.zio_2.13-2.0.14 Scala 2.13.11 and libraries update (#7010) 2023-06-14 13:15:57 +00:00
dev.zio.zio-internal-macros_2.13-2.0.14 Scala 2.13.11 and libraries update (#7010) 2023-06-14 13:15:57 +00:00
dev.zio.zio-stacktracer_2.13-2.0.14 Scala 2.13.11 and libraries update (#7010) 2023-06-14 13:15:57 +00:00
io.circe.circe-core_2.13-0.14.5 Scala 2.13.11 and libraries update (#7010) 2023-06-14 13:15:57 +00:00
io.circe.circe-generic_2.13-0.14.5 Scala 2.13.11 and libraries update (#7010) 2023-06-14 13:15:57 +00:00
io.circe.circe-generic-extras_2.13-0.14.2 Load the File_Format types via a ServiceLoader (#3813) 2022-10-24 09:55:18 +00:00
io.circe.circe-jawn_2.13-0.14.5 Scala 2.13.11 and libraries update (#7010) 2023-06-14 13:15:57 +00:00
io.circe.circe-literal_2.13-0.14.5 Scala 2.13.11 and libraries update (#7010) 2023-06-14 13:15:57 +00:00
io.circe.circe-numbers_2.13-0.14.5 Scala 2.13.11 and libraries update (#7010) 2023-06-14 13:15:57 +00:00
io.circe.circe-parser_2.13-0.14.5 Scala 2.13.11 and libraries update (#7010) 2023-06-14 13:15:57 +00:00
io.circe.circe-yaml_2.13-0.14.2 Scala 2.13.11 and libraries update (#7010) 2023-06-14 13:15:57 +00:00
io.methvin.directory-watcher-0.18.0 Upgrade directory-watcher library (#8201) 2023-11-02 11:24:26 +00:00
io.spray.spray-json_2.13-1.3.6 Update Scala to 2.13.7 (#3214) 2021-12-31 17:50:32 +03:00
net.java.dev.jna.jna-5.12.1 Upgrade enso to GraalVM for jdk 21 (#7991) 2023-11-17 18:02:36 +00:00
nl.gn0s1s.bump_2.13-0.1.3 Fix warnings in the legal review (#1743) 2021-05-14 19:20:13 +01:00
org.apache.commons.commons-compress-1.23.0 Scala 2.13.11 and libraries update (#7010) 2023-06-14 13:15:57 +00:00
org.apache.commons.commons-lang3-3.12.0 Update Scala to 2.13.7 (#3214) 2021-12-31 17:50:32 +03:00
org.apache.tika.tika-core-2.4.1 Update Scala to 2.13.8 (#3631) 2022-08-08 19:32:55 +00:00
org.bouncycastle.bcpkix-jdk15on-1.70 Update Scala to 2.13.7 (#3214) 2021-12-31 17:50:32 +03:00
org.bouncycastle.bcprov-jdk15on-1.70 Update Scala to 2.13.7 (#3214) 2021-12-31 17:50:32 +03:00
org.bouncycastle.bcutil-jdk15on-1.70 Update Scala to 2.13.7 (#3214) 2021-12-31 17:50:32 +03:00
org.checkerframework.checker-qual-3.33.0 Scala 2.13.11 and libraries update (#7010) 2023-06-14 13:15:57 +00:00
org.eclipse.jgit.org.eclipse.jgit-6.7.0.202309050840-r Upgrade directory-watcher library (#8201) 2023-11-02 11:24:26 +00:00
org.graalvm.js.js-language-23.1.0 Upgrade enso to GraalVM for jdk 21 (#7991) 2023-11-17 18:02:36 +00:00
org.graalvm.polyglot.polyglot-23.1.0 Upgrade enso to GraalVM for jdk 21 (#7991) 2023-11-17 18:02:36 +00:00
org.graalvm.regex.regex-23.1.0 Upgrade enso to GraalVM for jdk 21 (#7991) 2023-11-17 18:02:36 +00:00
org.graalvm.sdk.collections-23.1.0 Upgrade enso to GraalVM for jdk 21 (#7991) 2023-11-17 18:02:36 +00:00
org.graalvm.sdk.nativeimage-23.1.0 Upgrade enso to GraalVM for jdk 21 (#7991) 2023-11-17 18:02:36 +00:00
org.graalvm.sdk.word-23.1.0 Upgrade enso to GraalVM for jdk 21 (#7991) 2023-11-17 18:02:36 +00:00
org.graalvm.shadowed.icu4j-23.1.0 Upgrade enso to GraalVM for jdk 21 (#7991) 2023-11-17 18:02:36 +00:00
org.graalvm.truffle.truffle-api-23.1.0 Upgrade enso to GraalVM for jdk 21 (#7991) 2023-11-17 18:02:36 +00:00
org.jline.jline-3.23.0 Scala 2.13.11 and libraries update (#7010) 2023-06-14 13:15:57 +00:00
org.netbeans.api.org-netbeans-modules-sampler-RELEASE180 Scala 2.13.11 and libraries update (#7010) 2023-06-14 13:15:57 +00:00
org.netbeans.api.org-openide-util-lookup-RELEASE180 Scala 2.13.11 and libraries update (#7010) 2023-06-14 13:15:57 +00:00
org.reactivestreams.reactive-streams-1.0.3 Initial Legal Review (#1210) 2020-10-19 10:50:12 +02:00
org.reactivestreams.reactive-streams-1.0.4 Separating Redshift connector from Database library into a new AWS library (#6550) 2023-05-04 17:36:51 +00:00
org.scala-lang.modules.scala-collection-compat_2.13-2.8.1 Batch insert suggestions (#6189) 2023-04-06 07:47:23 +00:00
org.scala-lang.modules.scala-java8-compat_2.13-1.0.0 Update Scala to 2.13.7 (#3214) 2021-12-31 17:50:32 +03:00
org.scala-lang.modules.scala-parser-combinators_2.13-1.1.2 Initial Legal Review (#1210) 2020-10-19 10:50:12 +02:00
org.scala-lang.scala-library-2.13.11 Scala 2.13.11 and libraries update (#7010) 2023-06-14 13:15:57 +00:00
org.scala-lang.scala-reflect-2.13.11 Scala 2.13.11 and libraries update (#7010) 2023-06-14 13:15:57 +00:00
org.slf4j.slf4j-api-2.0.9 Reduce extra output in compilation and tests (#7809) 2023-10-16 10:57:44 +02:00
org.typelevel.cats-core_2.13-2.9.0 Scala 2.13.11 and libraries update (#7010) 2023-06-14 13:15:57 +00:00
org.typelevel.cats-kernel_2.13-2.9.0 Scala 2.13.11 and libraries update (#7010) 2023-06-14 13:15:57 +00:00
org.typelevel.jawn-parser_2.13-1.4.0 Scala 2.13.11 and libraries update (#7010) 2023-06-14 13:15:57 +00:00
org.xerial.sqlite-jdbc-3.42.0.0 Update sqlite jdbc dependency (#7031) 2023-06-15 11:00:18 +00:00
org.yaml.snakeyaml-1.33 Scala 2.13.11 and libraries update (#7010) 2023-06-14 13:15:57 +00:00
reviewed-licenses Upgrade enso to GraalVM for jdk 21 (#7991) 2023-11-17 18:02:36 +00:00
report-state Upgrade enso to GraalVM for jdk 21 (#7991) 2023-11-17 18:02:36 +00:00