changeset 40125:6a9dea571042

8163256: jlink/plugins/ExcludeVMPluginTest.java failed with Selected VM server doesn't exist Reviewed-by: jlaskey, alanb
author sundar
date Fri, 05 Aug 2016 18:16:45 +0530
parents 01f8745abd3c
children 1c3f804fff32 2781da09d28f
files jdk/src/jdk.jlink/share/classes/jdk/tools/jlink/internal/plugins/ExcludeVMPlugin.java
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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");
     }
 }