From fdb846dc1fe4011381b0eea5b23892829715e5ff Mon Sep 17 00:00:00 2001 From: Curtis Rueden Date: Tue, 20 Feb 2024 15:04:57 -0600 Subject: [PATCH] Add more packages to the add-opens list See: - https://imagesc.zulipchat.com/#narrow/stream/327495-scenery.2Bsciview/topic/.E2.9C.94.20broken.20push.20mode/near/420290215 - https://imagesc.zulipchat.com/#narrow/stream/327495-scenery.2Bsciview/topic/add-opens/near/422428831 Once #38 is addressed, we won't need all of these in one TOML anymore. --- configs/fiji.toml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/configs/fiji.toml b/configs/fiji.toml index 673a26f..0adb07d 100644 --- a/configs/fiji.toml +++ b/configs/fiji.toml @@ -163,6 +163,17 @@ jvm-args = [ # TODO: document where this happens on macOS. 'JAVA:9+|OS:MACOSX|--add-opens=java.desktop/com.apple.eawt=ALL-UNNAMED', + # For scenery - TODO: document exactly why + #'JAVA:9+|--add-opens=java.base/java.lang=ALL-UNNAMED', + 'JAVA:9+|--add-opens=java.base/java.lang.invoke=ALL-UNNAMED', + 'JAVA:9+|--add-opens=java.base/java.net=ALL-UNNAMED', + #'JAVA:9+|--add-opens=java.base/java.nio=ALL-UNNAMED', + 'JAVA:9+|--add-opens=java.base/java.time=ALL-UNNAMED', + #'JAVA:9+|--add-opens=java.base/java.util=ALL-UNNAMED', + 'JAVA:9+|--add-opens=java.base/java.util.concurrent.atomic=ALL-UNNAMED', + 'JAVA:9+|--add-opens=java.base/sun.nio.ch=ALL-UNNAMED', + 'JAVA:9+|--add-opens=java.base/sun.util.calendar=ALL-UNNAMED', + # Avoid Jython's huge startup cost. '-Dpython.cachedir.skip=true',