-
Notifications
You must be signed in to change notification settings - Fork 6.1k
8355379: Annotate lazy fields in java.security @Stable #25405
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
👋 Welcome back koushikthirupattur! A progress list of the required criteria for merging this PR into |
❗ This change is not yet ready to be integrated. |
@koushikthirupattur The following label will be automatically applied to this pull request:
When this pull request is ready to be reviewed, an "RFR" email will be sent to the corresponding mailing list. If you would like to change these labels, use the /label pull request command. |
Webrevs
|
I think we should add tests that seralizes/deserializes objects several times to make sure the hash code works as expected here. |
@koushikthirupattur This pull request has been inactive for more than 4 weeks and will be automatically closed if another 4 weeks passes without any activity. To avoid this, simply issue a |
Several classes in the
java.security
package lazily compute their hash value and store it in a field. These fields can typically be annotated with the@Stable
annotation. Many of the current implementations are using -1 as a flag for not computed, this needs to be refactored away.Here are some examples of such classes: PKCS12Attribute, Timestamp, Certificate, and URICertStoreParameters.
Progress
Issue
Reviewing
Using
git
Checkout this PR locally:
$ git fetch https://git.openjdk.org/jdk.git pull/25405/head:pull/25405
$ git checkout pull/25405
Update a local copy of the PR:
$ git checkout pull/25405
$ git pull https://git.openjdk.org/jdk.git pull/25405/head
Using Skara CLI tools
Checkout this PR locally:
$ git pr checkout 25405
View PR using the GUI difftool:
$ git pr show -t 25405
Using diff file
Download this PR as a diff file:
https://git.openjdk.org/jdk/pull/25405.diff
Using Webrev
Link to Webrev Comment