On Thu, 16 Jul 2026 14:26:50 GMT, Viktor Klang <[email protected]> wrote:

>> Yes. But notice a "value-based" class can exist when preview features are 
>> disabled, in which case, all the superclasses of the VBC can only be 
>> abstract without being value (a preview-only concept)
>
> This list starts with the statement:
> 
> 
> The compiler and runtime enforce the value based properties below if it is 
> declared
> as {@code value class} and preview features are enabled.
> A value-based class has the following properties:
> 
> 
> So I think we can presume that the list is "under the circumstance of preview 
> being enabled". In which case we should be able to say "abstract value class"?

All these text were initially added by @RogerRiggs, but I personally think this 
is an exaggeration of the enforcement because the enforcements are not 
complete, I think.

I would still describe VBC in the context of non-preview. Maybe @dansmithcode 
could comment on this.

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

PR Review Comment: 
https://git.openjdk.org/valhalla/pull/2631#discussion_r3596331365

Reply via email to