On Wed, 20 May 2026 18:07:37 GMT, Shiv Shah <[email protected]> wrote:

>> Added value class variants for NegativeArraySizeException tests, migrated 
>> types (Integer) and custom value classes (Point) with @enablePreview.
>> 
>> - [x] I confirm that I make this contribution in accordance with the 
>> [OpenJDK Interim AI Policy](https://openjdk.org/legal/ai).
>
> Shiv Shah has updated the pull request incrementally with one additional 
> commit since the last revision:
> 
>   8384109: Add value class array cases to NegativeArraySizeExceptionTest

Changes requested by lmesnik (Committer).

test/hotspot/jtreg/runtime/exceptionMsgs/NegativeArraySizeException/NegativeArraySizeExceptionTest.java
 line 42:

> 40:     @AsValueClass
> 41:     static class Point {
> 42:         int x;

Might be better to have VClass then point
and
have "flattned" value fields (Integer) instead of int

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

PR Review: 
https://git.openjdk.org/valhalla/pull/2422#pullrequestreview-4331160918
PR Review Comment: 
https://git.openjdk.org/valhalla/pull/2422#discussion_r3276241837

Reply via email to