8316446: 4 sun/management/jdp tests ignore VM flags

Reviewed-by: cjplummer, kevinw
This commit is contained in:
Leonid Mesnik 2023-10-09 23:09:39 +00:00
parent 8e0686b065
commit 5b311f20df

View File

@ -1,5 +1,5 @@
/*
* Copyright (c) 2013, 2018, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2013, 2023, 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
@ -67,7 +67,7 @@ public abstract class DynamicLauncher {
protected OutputAnalyzer runVM() throws Exception {
String[] options = this.options();
ProcessBuilder pb = ProcessTools.createJavaProcessBuilder(options);
ProcessBuilder pb = ProcessTools.createTestJvm(options);
OutputAnalyzer out = ProcessTools.executeProcess(pb);
System.out.println(out.getStdout());
System.err.println(out.getStderr());