On Tue, 4 Apr 2023 15:18:43 GMT, Rémi Forax <fo...@openjdk.org> wrote:
>> Jim Laskey has updated the pull request incrementally with one additional >> commit since the last revision: >> >> RuntimeException is the only exception type that can is deduced from a >> lambda. > > src/java.base/share/classes/java/lang/runtime/ReferenceKey.java line 70: > >> 68: * null. >> 69: */ >> 70: int hashcode; > > All the fields of the keys should be final, otherwise a publication problem > can occur (the key is visible from another thread but its fields are not yet > initialized) Changing ------------- PR Review Comment: https://git.openjdk.org/jdk/pull/10889#discussion_r1157453484