> 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 incrementally with one additional commit since the last revision: 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/17778c5f..c2304982 Webrevs: - full: https://webrevs.openjdk.org/?repo=jdk&pr=25405&range=01 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=25405&range=00-01 Stats: 18 lines in 2 files changed: 0 ins; 8 del; 10 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