8316446: 4 sun/management/jdp tests ignore VM flags
Reviewed-by: cjplummer, kevinw
This commit is contained in:
parent
8e0686b065
commit
5b311f20df
@ -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());
|
||||
|
Loading…
Reference in New Issue
Block a user