8163256: jlink/plugins/ExcludeVMPluginTest.java failed with Selected VM server doesn't exist
Reviewed-by: jlaskey, alanb
--- a/jdk/src/jdk.jlink/share/classes/jdk/tools/jlink/internal/plugins/ExcludeVMPlugin.java Fri Aug 05 09:42:05 2016 +0530
+++ b/jdk/src/jdk.jlink/share/classes/jdk/tools/jlink/internal/plugins/ExcludeVMPlugin.java Fri Aug 05 18:16:45 2016 +0530
@@ -263,6 +263,6 @@
}
private static boolean isMac(String osName) {
- return osName.startsWith("Mac OS");
+ return osName.startsWith("Mac OS") || osName.startsWith("Darwin");
}
}