On Tue, 27 Jan 2026 00:56:22 GMT, Alex Menkov <[email protected]> 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`

This pull request has now been integrated.

Changeset: 9c8ed482
Author:    Alex Menkov <[email protected]>
URL:       
https://git.openjdk.org/valhalla/commit/9c8ed4827d58ccc70ad24613c0492ab614617c33
Stats:     17 lines in 2 files changed: 0 ins; 1 del; 16 mod

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

Reviewed-by: cjplummer, sspitsyn

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

PR: https://git.openjdk.org/valhalla/pull/1977

Reply via email to