On Thu, 4 Jun 2026 19:27:54 GMT, Chen Liang <[email protected]> wrote:

>> src/java.base/share/classes/java/lang/Record.java line 101:
>> 
>>> 99:  */
>>> 100: @jdk.internal.MigratedValueClass
>>> 101: @jdk.internal.ValueBased
>> 
>> This annotation has been here since the introduction of **Records** in **JDK 
>> 16**
>
> Huh?
> 
> https://github.com/openjdk/valhalla/blob/58c9fbc93db6c27b00d1e53d7ee8bf6e382eea82/src/java.base/share/classes/java/lang/Record.java#L89-L90

Ughh, that’s what I get for using **GitHub**’s `git blame` on mobile, where the 
UI is confusing.

It was actually added in commit 
https://github.com/openjdk/valhalla/commit/b883f80f4253c0bc3fd2734595f8f25311bc22a1
 , which was before `MigratedValueClass` existed

-------------

PR Review Comment: 
https://git.openjdk.org/valhalla/pull/2510#discussion_r3358570967

Reply via email to