8163256: jlink/plugins/ExcludeVMPluginTest.java failed with Selected VM server doesn't exist

Reviewed-by: jlaskey, alanb
This commit is contained in:
Athijegannathan Sundararajan 2016-08-05 18:16:45 +05:30
parent f622ccd42d
commit 34e2e88ae2

View File

@ -263,6 +263,6 @@ public final class ExcludeVMPlugin implements Plugin {
}
private static boolean isMac(String osName) {
return osName.startsWith("Mac OS");
return osName.startsWith("Mac OS") || osName.startsWith("Darwin");
}
}