RFR: 8355379: Annotate lazy fields in java.security @Stable [v4]

duke duke at openjdk.org
Tue Aug 5 16:29:03 UTC 2025


On Tue, 29 Jul 2025 23:07:45 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.
>
> 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

@koushikthirupattur 
Your change (at version 77a650a9e817103737850d83a44021c540df3870) is now ready to be sponsored by a Committer.

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

PR Comment: https://git.openjdk.org/jdk/pull/25405#issuecomment-3155817089


More information about the security-dev mailing list