< prev index next >

test/jdk/java/foreign/UpcallTestHelper.java

Print this page
@@ -54,11 +54,10 @@
  
      public Output runInNewProcess(Class<?> target, boolean useSpec, String... programArgs) throws IOException, InterruptedException {
          assert !target.isArray();
  
          List<String> command = new ArrayList<>(List.of(
-             "--enable-preview",
              "--enable-native-access=ALL-UNNAMED",
              "-Djava.library.path=" + System.getProperty("java.library.path"),
              "-Djdk.internal.foreign.UpcallLinker.USE_SPEC=" + useSpec,
              target.getName()
          ));
< prev index next >