On Fri, 23 May 2025 04:54:26 GMT, Koushik Muthukrishnan Thirupattur <d...@openjdk.org> wrote:
> 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. This pull request has now been integrated. Changeset: ca416445 Author: Koushik Thirupattur <koushik.thirupat...@oracle.com> Committer: Per Minborg <pminb...@openjdk.org> URL: https://git.openjdk.org/jdk/commit/ca41644538c7cba3e2f50b11c5045cf2aa595f7f Stats: 118 lines in 4 files changed: 103 ins; 1 del; 14 mod 8355379: Annotate lazy fields in java.security @Stable Reviewed-by: pminborg ------------- PR: https://git.openjdk.org/jdk/pull/25405