6875033: regression: test of 6867665 fail
authorweijun
Mon, 24 Aug 2009 18:37:48 +0800
changeset 3634 1c8db1b32565
parent 3633 e86b5b8235fb
child 3635 dfc746e20834
6875033: regression: test of 6867665 fail Reviewed-by: xuelei
jdk/test/sun/security/krb5/ktab/HighestKvno.java
--- a/jdk/test/sun/security/krb5/ktab/HighestKvno.java	Sun Aug 23 17:20:46 2009 +0100
+++ b/jdk/test/sun/security/krb5/ktab/HighestKvno.java	Mon Aug 24 18:37:48 2009 +0800
@@ -23,6 +23,7 @@
 /*
  * @test
  * @bug 6867665
+ * @bug 6875033
  * @summary Problem with keytabs with multiple kvno's (key versions)
  */
 
@@ -223,9 +224,6 @@
         KeyTab ktab = KeyTab.getInstance("kt");
         PrincipalName pn = new PrincipalName("me@MAD.LOCAL");
         EncryptionKey[] keys = ktab.readServiceKeys(pn);
-        if (keys.length != 9) {
-            throw new Exception("Count error");
-        }
         if (keys[0].getKeyVersionNumber() != 5) {
             throw new Exception("Highest not first");
         }