On Fri, 17 Oct 2025 21:59:00 GMT, Joe Darcy <[email protected]> wrote:

> No tests need to be updated; `java/lang/Integer/ValueOf.java` passes with 
> this change?

The tests use `==` (acmp) to compare. In Valhalla `acmp` for value classes does 
a field by field (recursive) comparison.
It is not possible to detect a difference between any two value class instances 
(assuming their fields have the same values) regardless of their source.

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

PR Comment: https://git.openjdk.org/valhalla/pull/1685#issuecomment-3422098868

Reply via email to