File tree 1 file changed +5
-4
lines changed
test/jdk/sun/security/krb5
1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change 1
1
/*
2
- * Copyright (c) 2010, 2013 , Oracle and/or its affiliates. All rights reserved.
2
+ * Copyright (c) 2010, 2025 , Oracle and/or its affiliates. All rights reserved.
3
3
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4
4
*
5
5
* This code is free software; you can redistribute it and/or modify it
@@ -44,9 +44,10 @@ public static void main(String[] args) throws Exception {
44
44
count ++;
45
45
}
46
46
}
47
- // We believe a nice KerberosTime can at least tell the
48
- // difference of 100 musec.
49
- if (count < 10000 ) {
47
+ // Before JDK-6882687, KerberosTime was measured in milliseconds.
48
+ // Now it's in microseconds. We should be able to record more than
49
+ // 1000 distinct KerberosTime values within one second.
50
+ if (count < 1001 ) {
50
51
throw new Exception ("What? only " + (1000000 /count ) +
51
52
" musec precision?" );
52
53
}
You can’t perform that action at this time.
0 commit comments