OpenJDK / jdk / jdk
changeset 53713:50c1b0a0f1e8
8218705: Test sun/tools/jcmd/TestJcmdDefaults.java fails on Linux
Reviewed-by: dholmes
author | dtitov |
---|---|
date | Sat, 09 Feb 2019 10:07:13 -0800 |
parents | e7d81a810546 |
children | c6cda58bd1aa |
files | src/jdk.jcmd/share/classes/sun/tools/common/ProcessArgumentMatcher.java |
diffstat | 1 files changed, 0 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/src/jdk.jcmd/share/classes/sun/tools/common/ProcessArgumentMatcher.java Fri Feb 08 20:51:55 2019 -0500 +++ b/src/jdk.jcmd/share/classes/sun/tools/common/ProcessArgumentMatcher.java Sat Feb 09 10:07:13 2019 -0800 @@ -85,9 +85,6 @@ ProcessHelper helper = ProcessHelper.platformProcessHelper(); if (helper != null) { mainClass = helper.getMainClass(vmd.id()); - if (mainClass == null) { - return false; - } } // If the main class name is still unset then retrieve it with the attach mechanism