RFR: 8373913: Refactor serialization tests to use JUnit [v5]

Alan Bateman alanb at openjdk.org
Wed Jan 14 10:56:34 UTC 2026


On Tue, 13 Jan 2026 18:00:23 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:
> 
>   Review suggestions to remove extra spaces, duplicate annotation, and
>   the last remaining use of PER_CLASS.

test/jdk/java/io/Serializable/serialFilter/SerialFilterTest.java line 92:

> 90:      * @return an array of arrays of the parameters including factories
> 91:      */
> 92:     static Object[][] patterns() {

Maybe some future cleanup could change these method sources to return `Stream<String>` instead of `Object[][]`.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/28877#discussion_r2689958445


More information about the core-libs-dev mailing list