File tree 3 files changed +8
-8
lines changed
src/main/java/com/example 3 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ This demo illustrates how to use the new experimental WebAssembly backend for Gr
7
7
This demo requires:
8
8
9
9
1 . An [ Early Access Build] ( https://github.com/graalvm/oracle-graalvm-ea-builds ) of Oracle GraalVM for JDK 25 or later.
10
- For example, using SDKMAN!: ` sdk install java 25.ea.15 -graal `
10
+ For example, using SDKMAN!: ` sdk install java 25.ea.18 -graal `
11
11
2 . The [ Binaryen toolchain] ( https://github.com/WebAssembly/binaryen ) in version 119 or later and on the system path.
12
12
For example, using Homebrew: ` brew install binaryen `
13
13
Original file line number Diff line number Diff line change 13
13
import javax .tools .Diagnostic ;
14
14
import javax .tools .JavaFileObject ;
15
15
16
- import org .graalvm .aotjs .api .JS ;
17
- import org .graalvm .aotjs .api .JSNumber ;
18
- import org .graalvm .aotjs .api .JSObject ;
16
+ import org .graalvm .webimage .api .JS ;
17
+ import org .graalvm .webimage .api .JSNumber ;
18
+ import org .graalvm .webimage .api .JSObject ;
19
19
20
20
public class JavacMain {
21
21
public static void main (String [] args ) throws IOException {
Original file line number Diff line number Diff line change 20
20
import com .example .JavacCompilerWrapper ;
21
21
import com .example .JavacCompilerWrapper .FileContent ;
22
22
import com .example .preload .PreLoadedFiles ;
23
- import org .graalvm .aotjs .api .JS ;
24
- import org .graalvm .aotjs .api .JSBoolean ;
25
- import org .graalvm .aotjs .api .JSObject ;
26
- import org .graalvm .aotjs .api .JSString ;
23
+ import org .graalvm .webimage .api .JS ;
24
+ import org .graalvm .webimage .api .JSBoolean ;
25
+ import org .graalvm .webimage .api .JSObject ;
26
+ import org .graalvm .webimage .api .JSString ;
27
27
28
28
import com .sun .tools .javap .JavapTask ;
29
29
You can’t perform that action at this time.
0 commit comments