Skip to content

Commit

Permalink
8345164: Remove residual --enable-preview in FFM tests and benchmarks
Browse files Browse the repository at this point in the history
Reviewed-by: mcimadamore, jvernee
  • Loading branch information
minborg committed Dec 3, 2024
1 parent 65b5a2e commit dfa5620
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2023, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2023, 2024 Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
Expand All @@ -21,7 +21,7 @@
* questions.
*/

/**
/*
* @test
* @summary Basic test for Enable-Native-Access attribute in the
* manifest of a main application JAR
Expand Down Expand Up @@ -78,7 +78,6 @@ public void testEnableNativeAccessInJarManifest(String action, String cls, Resul

// java -jar test.jar
List<String> command = new ArrayList<>(List.of(
"--enable-preview",
"-Djava.library.path=" + System.getProperty("java.library.path")
));
command.addAll(vmArgs);
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2023, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2023, 2024 Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
Expand Down Expand Up @@ -43,7 +43,7 @@
@Measurement(iterations = 10, time = 500, timeUnit = TimeUnit.MILLISECONDS)
@State(Scope.Benchmark)
@OutputTimeUnit(TimeUnit.NANOSECONDS)
@Fork(value = 3, jvmArgs = { "--enable-native-access=ALL-UNNAMED", "--enable-preview", "-Djava.library.path=micro/native" })
@Fork(value = 3, jvmArgs = { "--enable-native-access=ALL-UNNAMED", "-Djava.library.path=micro/native" })
public class ToJavaStringTest {

private MemorySegment strSegment;
Expand Down

0 comments on commit dfa5620

Please sign in to comment.