Skip to content

Fix Wasm backend javac demo #350

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

Merged
merged 1 commit into from
Apr 24, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion native-image/wasm-javac/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ This demo illustrates how to use the new experimental WebAssembly backend for Gr
This demo requires:

1. An [Early Access Build](https://github.com/graalvm/oracle-graalvm-ea-builds) of Oracle GraalVM for JDK 25 or later.
For example, using SDKMAN!: `sdk install java 25.ea.15-graal`
For example, using SDKMAN!: `sdk install java 25.ea.18-graal`
2. The [Binaryen toolchain](https://github.com/WebAssembly/binaryen) in version 119 or later and on the system path.
For example, using Homebrew: `brew install binaryen`

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@
import javax.tools.Diagnostic;
import javax.tools.JavaFileObject;

import org.graalvm.aotjs.api.JS;
import org.graalvm.aotjs.api.JSNumber;
import org.graalvm.aotjs.api.JSObject;
import org.graalvm.webimage.api.JS;
import org.graalvm.webimage.api.JSNumber;
import org.graalvm.webimage.api.JSObject;

public class JavacMain {
public static void main(String[] args) throws IOException {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@
import com.example.JavacCompilerWrapper;
import com.example.JavacCompilerWrapper.FileContent;
import com.example.preload.PreLoadedFiles;
import org.graalvm.aotjs.api.JS;
import org.graalvm.aotjs.api.JSBoolean;
import org.graalvm.aotjs.api.JSObject;
import org.graalvm.aotjs.api.JSString;
import org.graalvm.webimage.api.JS;
import org.graalvm.webimage.api.JSBoolean;
import org.graalvm.webimage.api.JSObject;
import org.graalvm.webimage.api.JSString;

import com.sun.tools.javap.JavapTask;

Expand Down