@@ -85,10 +85,12 @@ * * @spec serialization/index.html Java Object Serialization Specification * @jls 8.10 Record Classes * @since 16 */ + @jdk.internal.MigratedValueClass + @jdk.internal.ValueBased public abstract class Record { /** * Constructor for record classes to call. */ protected Record() {}