On Tue, 5 Aug 2025 08:00:03 GMT, Per Minborg <pminb...@openjdk.org> wrote:
>> 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 > > src/java.base/share/classes/java/security/PKCS12Attribute.java line 50: > >> 48: private String value; >> 49: private final byte[] encoded; >> 50: > > The fields `name`, `value`, and `encoded` can also be marked `@Stable` with > appropriate changes (e.g., making the fields `final` and setting them to > `null` in the constructor that only takes an array). I think we should do > this under a separate issue. > > Similar for the other class in this PR. https://bugs.openjdk.org/browse/JDK-8364779 ------------- PR Review Comment: https://git.openjdk.org/jdk/pull/25405#discussion_r2255479469