RFR: 8355379: Annotate lazy fields in java.security @Stable [v3]
Koushik Muthukrishnan Thirupattur
duke at openjdk.org
Tue Jul 29 22:57:19 UTC 2025
> 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.
Koushik Muthukrishnan Thirupattur has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains nine additional commits since the last revision:
- 8355379: Annotate lazy fields in java.security @Stable
- Merge branch 'master' into 8355379
- Merge branch 'master' into 8355379
- 8355379: Annotate lazy fields in java.security @Stable
- Merge branch 'master' into 8355379
- 8355379: Annotate lazy fields in java.security @Stable
- 8355379: Annotate lazy fields in java.security @Stable
- Merge branch 'master' into 8355379
- 8355379: Annotate lazy fields in java.security @Stable
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/25405/files
- new: https://git.openjdk.org/jdk/pull/25405/files/c2304982..8e6c5952
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=25405&range=02
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=25405&range=01-02
Stats: 157676 lines in 3142 files changed: 92709 ins; 41306 del; 23661 mod
Patch: https://git.openjdk.org/jdk/pull/25405.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/25405/head:pull/25405
PR: https://git.openjdk.org/jdk/pull/25405
More information about the security-dev
mailing list