Withdrawn: 8355379: Annotate lazy fields in java.security @Stable

duke duke at openjdk.org
Wed Jul 30 15:44:03 UTC 2025


On Fri, 23 May 2025 04:54:26 GMT, Koushik Muthukrishnan Thirupattur <duke at 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 been closed without being integrated.

-------------

PR: https://git.openjdk.org/jdk/pull/25405


More information about the security-dev mailing list