jdk/src/share/classes/sun/security/provider/certpath/ldap/LDAPCertStore.java
changeset 10369 e9d2e59e53f0
parent 5506 202f599c92aa
child 10782 01689c7b34ac
--- a/jdk/src/share/classes/sun/security/provider/certpath/ldap/LDAPCertStore.java	Sat Aug 27 15:40:45 2011 +0100
+++ b/jdk/src/share/classes/sun/security/provider/certpath/ldap/LDAPCertStore.java	Mon Aug 29 05:55:26 2011 -0700
@@ -879,7 +879,8 @@
             if (hashCode == 0) {
                 int result = 17;
                 result = 37*result + getPort();
-                result = 37*result + getServerName().toLowerCase().hashCode();
+                result = 37*result +
+                    getServerName().toLowerCase(Locale.ENGLISH).hashCode();
                 hashCode = result;
             }
             return hashCode;