Skip to content
Closed
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
Binary file modified hat/hat/job.jar
Binary file not shown.
3 changes: 1 addition & 2 deletions hat/hat/job/src/main/java/job/Jar.java
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,6 @@ public boolean build() {
"--source=26",
"--enable-preview",
"--add-modules=jdk.incubator.code",
"--add-exports=jdk.incubator.code/jdk.incubator.code.dialect.java.impl=ALL-UNNAMED",
"-g",
"-d", classesDirName()
));
Expand Down Expand Up @@ -281,7 +280,7 @@ public boolean run(String mainClassName, Set<Dependency> depsInOrder, List<Strin
"--enable-native-access=ALL-UNNAMED"
);
opts.add(
"--add-exports=jdk.incubator.code/jdk.incubator.code.dialect.java.impl=ALL-UNNAMED", // for OpRenderer
"--add-modules=jdk.incubator.code",
"--class-path", classPathWithThisLast(depsInOrder),
"-Djava.library.path=" + id().project().buildPath()
);
Expand Down
1 change: 1 addition & 0 deletions hat/hat/run.java
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,7 @@ class name is assumed to be package.Main (i.e. mandel.main)
.enable_preview()
.verbose(true)
.enable_native_access("ALL-UNNAMED")
.add_modules("jdk.incubator.code")
.library_path(buildDir)
.when(config.headless, Script.JavaBuilder::headless)
.when(config.startOnFirstThread, Script.JavaBuilder::start_on_first_thread)
Expand Down
2 changes: 2 additions & 0 deletions hat/hat/test.java
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,7 @@ void main(String[] argv) {
.enable_preview()
.verbose(true)
.enable_native_access("ALL-UNNAMED")
.add_modules("jdk.incubator.code")
.library_path(buildDir)
.when(config.headless, Script.JavaBuilder::headless)
.when(config.startOnFirstThread, Script.JavaBuilder::start_on_first_thread)
Expand Down Expand Up @@ -233,6 +234,7 @@ void main(String[] argv) {
.enable_preview()
.verbose(true)
.enable_native_access("ALL-UNNAMED")
.add_modules("jdk.incubator.code")
.library_path(buildDir)
.when(config.headless, Script.JavaBuilder::headless)
.when(config.startOnFirstThread, Script.JavaBuilder::start_on_first_thread)
Expand Down