Skip to content
Snippets Groups Projects
Commit 0cd71889 authored by brinn's avatar brinn
Browse files

Fix detection of Mac OS JVM with new Oracle / OpenJDK JDK7 for Mac.

SVN: 25623
parent 934bab36
No related branches found
No related tags found
No related merge requests found
......@@ -55,11 +55,11 @@ public class OSUtilities
}
/**
* @return <code>true</code> if the the operating system is a flavor of MacOS.
* @return <code>true</code> if the the operating system is a flavor of Mac OS X.
*/
public static boolean isMacOS()
{
return System.getProperty("java.vendor").startsWith("Apple");
return "Mac OS X".equals(System.getProperty("os.name"));
}
/**
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment