File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed
test/jdk/sun/security/krb5 Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change 11/*
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.
33 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44 *
55 * 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 {
4444 count ++;
4545 }
4646 }
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 ) {
5051 throw new Exception ("What? only " + (1000000 /count ) +
5152 " musec precision?" );
5253 }
You can’t perform that action at this time.
0 commit comments