[lworld] RFR: 8346307: [lworld] Clarify identity vs value in Class, Objects, and document limitations of value objects [v8]

Roger Riggs rriggs at openjdk.org
Fri Jun 20 20:37:43 UTC 2025


On Wed, 18 Jun 2025 16:41:11 GMT, ExE Boss <duke at openjdk.org> wrote:

> This is still incorrect:

Unless Preview is enabled, there is no such thing as a value class (according to the spec).
Until JEP 401 is enabled, all classes are identity classes.
So it would be incorrect to report that primitive classes, interfaces, and void.class are value classes.

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

PR Comment: https://git.openjdk.org/valhalla/pull/1327#issuecomment-2992715312


More information about the valhalla-dev mailing list