On Mon, 27 Apr 2026 09:34:46 GMT, Viktor Klang <[email protected]> wrote:
>> 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 425: > >> 423: // stable access for all `size` values. >> 424: private int size; >> 425: private int hash; > > These aren't stable though? And 0-result hashCodes looks like they are > perpetually recomputed. See `@jdk.internal.vm.annotation.TrustFinalFields`. But yes, zero is a problem. ------------- PR Review Comment: https://git.openjdk.org/jdk/pull/30194#discussion_r3152828796
