RFR: 8355379: Annotate lazy fields in java.security @Stable [v4]
Koushik Muthukrishnan Thirupattur
duke at openjdk.org
Tue Jul 29 23:07:45 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 and URICertStoreParameters.
Koushik Muthukrishnan Thirupattur has updated the pull request incrementally with three additional commits since the last revision:
- 8355379: Annotate lazy fields in java.security @Stable
- 8355379: Annotate lazy fields in java.security @Stable
- 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/8e6c5952..77a650a9
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=25405&range=03
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=25405&range=02-03
Stats: 146 lines in 5 files changed: 0 ins; 141 del; 5 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