On Fri, 24 Apr 2026 09:02:04 GMT, Per Minborg <[email protected]> wrote:
>> Implement JEP 531: Lazy Constants (Third Preview) >> >> This PR replaces _draft_ https://github.com/openjdk/jdk/pull/29507 >> >> - [x] I confirm that I make this contribution in accordance with the >> [OpenJDK Interim AI Policy](https://openjdk.org/legal/ai). > > Per Minborg has updated the pull request incrementally with one additional > commit since the last revision: > > Change the way throwing toString is handled src/java.base/share/classes/java/util/LazyCollections.java line 424: > 422: // -1 is used as a sentinel value for zero so we can get > 423: // stable access for all `size` values. > 424: private int size; Aren't these fields missing `@Stable` ? ------------- PR Review Comment: https://git.openjdk.org/jdk/pull/30194#discussion_r3146180106
