Skip to content

Conversation

@fniephaus
Copy link
Member

This PR updates all demos to the new 25.0.0 releases of GraalPy, GraalJS, GraalWasm, and Espresso. This also requires updates for Gradle to run on JDK 25, as well as some adjustments for how Wasm modules are now instantiated on GraalWasm. Review commit-by-commit.

@fniephaus fniephaus self-assigned this Sep 23, 2025
@oracle-contributor-agreement oracle-contributor-agreement bot added the OCA Verified All contributors have signed the Oracle Contributor Agreement. label Sep 23, 2025
@fniephaus fniephaus merged commit f9d9c71 into main Sep 24, 2025
55 checks passed
@fniephaus fniephaus deleted the fniephaus/25.0 branch September 24, 2025 14:31
Copy link
Member

@jirkamarsik jirkamarsik left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

GraalWasm changes look good, thanks!

public static void main(String[] args) throws IOException {
// Find the WebAssembly module resource
URL wasmFile = App.class.getResource("floyd.wasm");
Source source = Source.newBuilder("wasm", wasmFile).name("example").build();
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We can drop .name("example") as the Source name is no longer used when reading the exports.

</executions>
<configuration>
<mainClass>com.example.App</mainClass>
</configuration>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I always get tripped up by <pluginManagement> vs <plugins>. If I understand correctly, in <pluginManagement> we should only have the version, and the configuration should live in <plugins>, as in graalwasm-embed-c-code-guide.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

OCA Verified All contributors have signed the Oracle Contributor Agreement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants