jdk/src/share/classes/sun/security/jgss/wrapper/SunNativeProvider.java
changeset 17435 ec797e955dca
parent 14780 a65826af2aa4
child 20485 8af87f3d549c
--- a/jdk/src/share/classes/sun/security/jgss/wrapper/SunNativeProvider.java	Mon May 06 21:24:37 2013 -0700
+++ b/jdk/src/share/classes/sun/security/jgss/wrapper/SunNativeProvider.java	Tue May 07 12:30:36 2013 +0800
@@ -90,6 +90,11 @@
                                     "libgssapi_krb5.so",
                                     "libgssapi_krb5.so.2",
                                 };
+                            } else if (osname.contains("OS X")) {
+                                gssLibs = new String[]{
+                                    "libgssapi_krb5.dylib",
+                                    "/usr/lib/sasl2/libgssapiv2.2.so",
+                               };
                             }
                         } else {
                             gssLibs = new String[]{ defaultLib };