jdk/test/java/lang/ProcessBuilder/Basic.java
changeset 12538 211d6e82fe51
parent 12047 320a714614e9
child 12882 35d381df9422
--- a/jdk/test/java/lang/ProcessBuilder/Basic.java	Mon Apr 16 20:12:20 2012 +0100
+++ b/jdk/test/java/lang/ProcessBuilder/Basic.java	Mon Apr 16 18:09:53 2012 -0400
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2003, 2011, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2003, 2012, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -597,7 +597,7 @@
     static class MacOSX {
         public static boolean is() { return is; }
         private static final String osName = System.getProperty("os.name");
-        private static final boolean is = osName.startsWith("Mac OS");
+        private static final boolean is = osName.contains("OS X");
     }
 
     static class True {