-
Bug
-
Resolution: Fixed
-
P3
-
None
-
OpenJDK6
-
None
-
generic
-
generic
Kerberos JCK tests fail on systems without krb5.conf configuration file.
The cause of this failure is “improper” backport for 6857795 to jdk6
Compare backport for jdk7u - http://hg.openjdk.java.net/jdk7u/jdk7u/jdk/rev/1df67a3ecce8#l1.22
where IOException is swallowed and added comment:
" // No krb5.conf, no problem. We'll use DNS etc. "
and backport for jdk6 - http://hg.openjdk.java.net/jdk6/jdk6/jdk/rev/5a766226c372#l1.22
where the code always throws exception if configuration file is missing
Affected tests
api/javax_security/auth/kerberos/KerberosKey/index.html#Ctor1Tests
api/javax_security/auth/kerberos/KerberosKey/index.html#Ctor2Tests
api/javax_security/auth/kerberos/KerberosPrincipal/index.html#Ctor1Tests
api/javax_security/auth/kerberos/KerberosPrincipal/index.html#Ctor2Tests
api/javax_security/auth/kerberos/KerberosTicket/index.html#CtorTests
api/javax_security/auth/kerberos/KerberosTicket/index.html#dateTests
api/javax_security/auth/kerberos/KerberosTicket/index.html#destroyTests
api/javax_security/auth/kerberos/KerberosTicket/index.html#flagsTests
api/javax_security/auth/kerberos/KerberosTicket/index.html#refreshTests
api/javax_security/auth/kerberos/KerberosTicket/index1.html#newEqualsHashCodeTests
The cause of this failure is “improper” backport for 6857795 to jdk6
Compare backport for jdk7u - http://hg.openjdk.java.net/jdk7u/jdk7u/jdk/rev/1df67a3ecce8#l1.22
where IOException is swallowed and added comment:
" // No krb5.conf, no problem. We'll use DNS etc. "
and backport for jdk6 - http://hg.openjdk.java.net/jdk6/jdk6/jdk/rev/5a766226c372#l1.22
where the code always throws exception if configuration file is missing
Affected tests
api/javax_security/auth/kerberos/KerberosKey/index.html#Ctor1Tests
api/javax_security/auth/kerberos/KerberosKey/index.html#Ctor2Tests
api/javax_security/auth/kerberos/KerberosPrincipal/index.html#Ctor1Tests
api/javax_security/auth/kerberos/KerberosPrincipal/index.html#Ctor2Tests
api/javax_security/auth/kerberos/KerberosTicket/index.html#CtorTests
api/javax_security/auth/kerberos/KerberosTicket/index.html#dateTests
api/javax_security/auth/kerberos/KerberosTicket/index.html#destroyTests
api/javax_security/auth/kerberos/KerberosTicket/index.html#flagsTests
api/javax_security/auth/kerberos/KerberosTicket/index.html#refreshTests
api/javax_security/auth/kerberos/KerberosTicket/index1.html#newEqualsHashCodeTests