src/share/classes/sun/security/jgss/GSSManagerImpl.java

Print this page
rev 6670 : 8010192: Enable native JGSS provider on Mac

@@ -46,10 +46,11 @@
         USE_NATIVE =
             AccessController.doPrivileged(new PrivilegedAction<Boolean>() {
                     public Boolean run() {
                             String osname = System.getProperty("os.name");
                             if (osname.startsWith("SunOS") ||
+                                osname.contains("OS X") ||
                                 osname.startsWith("Linux")) {
                                 return new Boolean(System.getProperty
                                     (USE_NATIVE_PROP));
                             }
                             return Boolean.FALSE;