-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Description
Feature request
Please include the following information:
Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. E.g. I'm always frustrated when [...]
- Found at Fixes HotSpot JDK 22 CI failure due to GR-54293 apache/shardingsphere#32267 .
- On GraalVM CE For JDK 22.0.1, using Espresso is very intuitive.
</dependencies>
<dependency>
<groupId>org.graalvm.polyglot</groupId>
<artifactId>polyglot</artifactId>
<version>24.0.1</version>
</dependency>
<dependency>
<groupId>org.graalvm.polyglot</groupId>
<artifactId>java-community</artifactId>
<version>24.0.1</version>
<type>pom</type>
</dependency>
</dependencies>- But starting with GraalVM CE For JDK 22.0.2 including [GR-54293] Allow multiple espresso runtime resources to coexist. #9020, you also need a
espresso-runtime-<RuntimeResourceId>related Maven dependency asRuntimeResourceId. This sounds similar to,
</dependencies>
<dependency>
<groupId>org.graalvm.polyglot</groupId>
<artifactId>polyglot</artifactId>
<version>24.0.2</version>
</dependency>
<dependency>
<groupId>org.graalvm.polyglot</groupId>
<artifactId>java-community</artifactId>
<version>24.0.2</version>
<type>pom</type>
</dependency>
<dependency>
<groupId>org.graalvm.espresso</groupId>
<artifactId>espresso-runtime-resources-linux-amd64</artifactId>
<version>24.0.2</version>
</dependency>
</dependencies>- Otherwise, an exception is thrown. Refer to https://github.com/apache/shardingsphere/actions/runs/10081728571/job/27887106603 .
Error: org.apache.shardingsphere.infra.expr.espresso.EspressoInlineExpressionParserTest.assertEvaluateForLiteral -- Time elapsed: 0.053 s <<< ERROR!
org.graalvm.polyglot.PolyglotException:
com.oracle.truffle.espresso.meta.EspressoError: fatal: Couldn't find suitable runtime libraries for espresso. You can try to
add a jar with the necessary resources such as org.graalvm.espresso:espresso-runtime-resources-*,
or set java.JavaHome explicitly.
at com.oracle.truffle.espresso.meta.EspressoError.fatal(EspressoError.java:58)
at com.oracle.truffle.espresso.EspressoLanguage.getEspressoRuntime(EspressoLanguage.java:613)
at com.oracle.truffle.espresso.runtime.EspressoContext.getEspressoRuntime(EspressoContext.java:1216)
at com.oracle.truffle.espresso.runtime.EspressoContext.initVmProperties(EspressoContext.java:695)
at com.oracle.truffle.espresso.runtime.EspressoContext.spawnVM(EspressoContext.java:374)
at com.oracle.truffle.espresso.runtime.EspressoContext.initializeContext(EspressoContext.java:319)
at com.oracle.truffle.espresso.EspressoLanguage.initializeContext(EspressoLanguage.java:273)
at com.oracle.truffle.espresso.EspressoLanguage.initializeContext(EspressoLanguage.java:88)
at com.oracle.truffle.api.TruffleLanguage$Env.postInit(TruffleLanguage.java:3779)
at com.oracle.truffle.api.LanguageAccessor$LanguageImpl.postInitEnv(LanguageAccessor.java:288)
at com.oracle.truffle.polyglot.PolyglotLanguageContext.ensureInitialized(PolyglotLanguageContext.java:771)
at com.oracle.truffle.polyglot.PolyglotContextImpl.getBindings(PolyglotContextImpl.java:1402)
at com.oracle.truffle.polyglot.PolyglotContextDispatch.getBindings(PolyglotContextDispatch.java:95)
at org.graalvm.polyglot.Context.getBindings(Context.java:563)- Note that https://central.sonatype.com/artifact/org.graalvm.espresso/espresso-runtime-resources-linux-amd64/24.0.2 has changed LICENSE.
org.graalvm.espresso:espresso-runtime-resources-linux-amd64:24.0.1isGNU General Public License, version 2, butorg.graalvm.espresso:espresso-runtime-resources-linux-amd64:24.0.2isGraalVM Free Terms and Conditions (GFTC) including License for Early Adopter Versions. But it looks like the onlyespresso-runtime-<RuntimeResourceId>isorg.graalvm.espresso:espresso-runtime-resources-linux-amd64. I don't see a description of the LICENSE changes in the CHANGELOG , so I'm assuming I'm actually missing some documentation?
Describe the solution you'd like.
A clear and concise description of what you want to happen.
- Provide an
espresso-runtime-<RuntimeResourceId>with UPL or GPL as the LICENSE.
Describe who do you think will benefit the most.
GraalVM users, GraalVM contributors, developers of libraries and frameworks which depend on GraalVM, or somebody else?
- Developers of libraries and frameworks which depend on GraalVM.
Describe alternatives you've considered.
A clear and concise description of any alternative solutions or features you've considered.
- Null.
Additional context.
Add any other context about the feature request here.
For example, link to the relevant projects, documentation, standards.
- Fixes HotSpot JDK 22 CI failure due to GR-54293 apache/shardingsphere#32267 and [GR-54293] Allow multiple espresso runtime resources to coexist. #9020 .
Express whether you'd like to help contributing this feature
If you'd like to contribute, please read the contribution guide.
- This doesn't seem to be something I can decide.