8297531: sun/security/krb5/MicroTime.java fails with "Exception: What? only 100 musec precision?"#23867
8297531: sun/security/krb5/MicroTime.java fails with "Exception: What? only 100 musec precision?"#23867wangweij wants to merge 3 commits intoopenjdk:masterfrom
Conversation
|
👋 Welcome back weijun! A progress list of the required criteria for merging this PR into |
|
@wangweij This change now passes all automated pre-integration checks. ℹ️ This project also has non-automated pre-integration requirements. Please see the file CONTRIBUTING.md for details. After integration, the commit message for the final commit will be: You can use pull request commands such as /summary, /contributor and /issue to adjust it as needed. At the time when this comment was updated there had been 32 new commits pushed to the
As there are no conflicts, your changes will automatically be rebased on top of these commits when integrating. If you prefer to avoid this automatic rebasing, please check the documentation for the /integrate command for further details. ➡️ To integrate this PR with the above commit message to the |
Webrevs
|
| } | ||
| } | ||
| // We believe a nice KerberosTime can at least tell the | ||
| // difference of 100 musec. |
There was a problem hiding this comment.
What's "musec"? Should it be "nanoseconds"?
There was a problem hiding this comment.
Nevermind, I see that it's actually microsecond.
| if (count < 10000) { | ||
| // Before this change, KerberosTime was implemented in milliseconds. | ||
| // Now there should be more. | ||
| if (count < 1001) { |
There was a problem hiding this comment.
Nevermind that, 1001 is needed to make sure we have a precision at least better than 1 millisecond. So 1001 unique timestamps out of of 1M gives us just that.
| // Before this change, KerberosTime was implemented in milliseconds. | ||
| // Now there should be more. | ||
| if (count < 1001) { |
There was a problem hiding this comment.
Can you make this comment more specific? What change was this? And what is the precision after the change?
There was a problem hiding this comment.
Updated. I was pretending the comment was written right when the bug was fixed.
|
/integrate |
|
Going to push as commit 0753376.
Your commit was automatically rebased without conflicts. |
Loosen the check; the modified test is sufficient to demonstrate sub-millisecond precision.
Progress
Issue
Reviewers
Reviewing
Using
gitCheckout this PR locally:
$ git fetch https://git.openjdk.org/jdk.git pull/23867/head:pull/23867$ git checkout pull/23867Update a local copy of the PR:
$ git checkout pull/23867$ git pull https://git.openjdk.org/jdk.git pull/23867/headUsing Skara CLI tools
Checkout this PR locally:
$ git pr checkout 23867View PR using the GUI difftool:
$ git pr show -t 23867Using diff file
Download this PR as a diff file:
https://git.openjdk.org/jdk/pull/23867.diff
Using Webrev
Link to Webrev Comment