RFR: JDK-8285932 Implementation of JEP 430 String Templates (Preview) [v53]
Jim Laskey
jlaskey at openjdk.org
Tue Apr 4 15:52:41 UTC 2023
On Tue, 4 Apr 2023 15:18:43 GMT, Rémi Forax <forax at 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
More information about the compiler-dev
mailing list