On Sat, 27 Jun 2026 16:31:09 GMT, Jaikiran Pai <[email protected]> wrote:
>> Can I please get a review of this test-only change which addresses the >> issues in its parameterized tests, as noted here >> https://github.com/openjdk/jdk/pull/31123/changes#r3486082890? >> >> While at it, I also did a general clean up of the test and added comments to >> the test methods and the classes used in that test to clarify what's being >> covered by this test. >> >> The test continues to pass after this change and the test methods get run >> more number of times (as expected) due to fixing the parameters being >> generated for the parameterized tests. >> >> --------- >> - [x] I confirm that I make this contribution in accordance with the >> [OpenJDK Interim AI Policy](https://openjdk.org/legal/ai). > > Jaikiran Pai has updated the pull request incrementally with one additional > commit since the last revision: > > move the assertThrows() more closer to the actual > readObject()/writeObject() invocation test/jdk/java/io/Serializable/valueObjects/ValueSerializationTest.java line 151: > 149: > 150: Arguments.of( > 151: (Object) new ValueWithDeserializer[]{ For maintainability-purposes, it would be good to document why/when the arguments to Arguments.of are explicitly cast to (Object) and when not. ------------- PR Review Comment: https://git.openjdk.org/valhalla/pull/2590#discussion_r3490625473
