Skip to content

Commit b9dcd4b

Browse files
committed
8318964: Fix build failures caused by 8315097
Reviewed-by: aboldtch, rcastanedalo
1 parent d52a995 commit b9dcd4b

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

test/hotspot/jtreg/runtime/CompressedOops/CompressedClassPointersEncodingScheme.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ public class CompressedClassPointersEncodingScheme {
4545
private static void test(long forceAddress, long classSpaceSize, long expectedEncodingBase, int expectedEncodingShift) throws IOException {
4646
String forceAddressString = String.format("0x%016X", forceAddress).toLowerCase();
4747
String expectedEncodingBaseString = String.format("0x%016X", expectedEncodingBase).toLowerCase();
48-
ProcessBuilder pb = ProcessTools.createJavaProcessBuilder(
48+
ProcessBuilder pb = ProcessTools.createLimitedTestJavaProcessBuilder(
4949
"-Xshare:off", // to make CompressedClassSpaceBaseAddress work
5050
"-XX:+UnlockDiagnosticVMOptions",
5151
"-XX:-UseCompressedOops", // keep VM from optimizing heap location

test/hotspot/jtreg/runtime/ErrorHandling/TestSymbolsInHsErrFile.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ public class TestSymbolsInHsErrFile {
4343
public static void main(String[] args) throws Exception {
4444

4545
// Start a jvm and cause a SIGSEGV / ACCESS_VIOLATION
46-
ProcessBuilder pb = ProcessTools.createJavaProcessBuilder(
46+
ProcessBuilder pb = ProcessTools.createLimitedTestJavaProcessBuilder(
4747
"-XX:+UnlockDiagnosticVMOptions",
4848
"-Xmx100M",
4949
"-XX:-CreateCoredumpOnCrash",

test/hotspot/jtreg/runtime/os/TestHugePageDecisionsAtVMStartup.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ public static void main(String[] extraOptions) throws Exception {
146146
boolean useTHP = allOptions.contains("-XX:+UseTransparentHugePages");
147147
System.out.println("useLP: " + useLP + " useTHP: " + useTHP);
148148

149-
ProcessBuilder pb = ProcessTools.createJavaProcessBuilder(allOptions.toArray(new String[0]));
149+
ProcessBuilder pb = ProcessTools.createLimitedTestJavaProcessBuilder(allOptions.toArray(new String[0]));
150150
OutputAnalyzer output = new OutputAnalyzer(pb.start());
151151
output.reportDiagnosticSummary();
152152
HugePageConfiguration configuration = HugePageConfiguration.readFromOS();

test/jdk/java/lang/instrument/modules/AppendToClassPathModuleTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ public class AppendToClassPathModuleTest {
4747
public static void main(String... args) throws Throwable {
4848
String modulepath = System.getProperty("test.module.path");
4949

50-
// can't use ProcessTools.createJavaProcessBuilder as it always adds -cp
50+
// can't use ProcessTools.createLimitedTestJavaProcessBuilder as it always adds -cp
5151
ProcessBuilder pb = new ProcessBuilder(
5252
JDKToolFinder.getTestJDKTool("java"),
5353
"-javaagent:Agent.jar",

test/jdk/tools/launcher/modules/classpath/JavaClassPathTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ public void testClassPathAttribute() throws Throwable {
200200
}
201201

202202
private OutputAnalyzer execute(List<String> options) throws Throwable {
203-
// can't use ProcessTools.createJavaProcessBuilder as it always adds -cp
203+
// can't use ProcessTools.createLimitedTestJavaProcessBuilder as it always adds -cp
204204
ProcessBuilder pb = new ProcessBuilder(
205205
Stream.concat(Stream.of(JDKToolFinder.getTestJDKTool("java")),
206206
options.stream()

0 commit comments

Comments
 (0)