mirror of
https://github.com/openjdk/jdk.git
synced 2026-02-08 17:38:38 +00:00
8319213: Compatibility.java reads both stdout and stderr of JdkUtils
Reviewed-by: rhalade
This commit is contained in:
parent
6ad093ef12
commit
84f4f7477c
@ -1026,7 +1026,7 @@ public class Compatibility {
|
||||
cmd[3] = JdkUtils.class.getName();
|
||||
cmd[4] = method;
|
||||
System.arraycopy(args, 0, cmd, 5, args.length);
|
||||
return ProcessTools.executeCommand(cmd).getOutput();
|
||||
return ProcessTools.executeCommand(cmd).getStdout();
|
||||
}
|
||||
|
||||
// Executes the specified JDK tools, such as keytool and jarsigner, and
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user