RFR: 8373913: Refactor serialization tests to use JUnit [v2]
Alan Bateman
alanb at openjdk.org
Mon Jan 12 18:16:34 UTC 2026
On Thu, 18 Dec 2025 16:46:26 GMT, Roger Riggs <rriggs at openjdk.org> wrote:
>> Refactor serialization tests to use JUnit.
>> Automated conversion for most annotations.
>> Conditional tests are refactored to use JUnit Enable/DisableIf.
>
> Roger Riggs has updated the pull request incrementally with one additional commit since the last revision:
>
> Cleanup arglist and fix code style
test/jdk/java/io/Serializable/class/NonSerializableTest.java line 67:
> 65:
> 66: // Test cases to compile and run
> 67: public Object[] provider() {
Could this be changed to be a static method that returns a Stream<List<String>>, and if so, would it allow the test to drop the ned for Lifecycle.PER_CLASS.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/28877#discussion_r2683355298
More information about the core-libs-dev
mailing list