8345164: Remove residual --enable-preview in FFM tests and benchmarks

Reviewed-by: mcimadamore, jvernee
This commit is contained in:
Per Minborg 2024-12-03 13:32:48 +00:00
parent 65b5a2e3e4
commit dfa5620ff3
2 changed files with 4 additions and 5 deletions

View File

@ -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
@ -21,7 +21,7 @@
* questions.
*/
/**
/*
* @test
* @summary Basic test for Enable-Native-Access attribute in the
* manifest of a main application JAR
@ -78,7 +78,6 @@ public class TestEnableNativeAccessJarManifest extends TestEnableNativeAccessBas
// java -jar test.jar
List<String> command = new ArrayList<>(List.of(
"--enable-preview",
"-Djava.library.path=" + System.getProperty("java.library.path")
));
command.addAll(vmArgs);

View File

@ -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
@ -43,7 +43,7 @@ import java.util.concurrent.TimeUnit;
@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;