jdk/test/sun/security/krb5/ktab/HighestKvno.java
changeset 5974 f0531b7dfebe
parent 5506 202f599c92aa
child 9008 1c23e333dd76
--- a/jdk/test/sun/security/krb5/ktab/HighestKvno.java	Thu Jun 24 14:26:22 2010 +0800
+++ b/jdk/test/sun/security/krb5/ktab/HighestKvno.java	Thu Jun 24 14:26:28 2010 +0800
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2009, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2009, 2010, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -227,9 +227,6 @@
         if (keys[0].getKeyVersionNumber() != 5) {
             throw new Exception("Highest not first");
         }
-        if (ktab.readServiceKey(pn).getKeyVersionNumber() != 5) {
-            throw new Exception("Highest not chosen");
-        }
         new File("kt").delete();
     }
 }