[lworld] RFR: 8375074: [lworld] vmTestbase/nsk/jdi/ModificationWatchpointEvent/valueToBe/valuetobe001/TestDescription.java fails with --enable-preview

Serguei Spitsyn sspitsyn at openjdk.org
Tue Jan 27 20:35:35 UTC 2026


On Tue, 27 Jan 2026 00:56:22 GMT, Alex Menkov <amenkov at openjdk.org> wrote:

> The test verifies that ModificationWatchpointEvent have different current and new values.
> Debuggee sets different primitive values (like `Byte.MIN_VALUE/Byte.MAX_VALUE`), but for wrapper classes it assumes that `new Byte(Byte.MIN_VALUE)  != new Byte(Byte.MIN_VALUE)`, which is wrong with `--enable-preview`

Marked as reviewed by sspitsyn (Committer).

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

PR Review: https://git.openjdk.org/valhalla/pull/1977#pullrequestreview-3713335021


More information about the valhalla-dev mailing list