RFR: 8373893: Refactor networking http server tests to use JUnit [v5]

Alan Bateman alanb at openjdk.org
Wed Dec 31 06:30:56 UTC 2025


On Tue, 23 Dec 2025 11:01:47 GMT, Michael McMahon <michaelm at openjdk.org> wrote:

>> test/jdk/com/sun/net/httpserver/BasicAuthenticatorRealm.java line 67:
>> 
>>> 65: 
>>> 66:     @Test
>>> 67:     @Order(1)
>> 
>> does the method order matter here?
>
> The order matters overall. So, I think it's best to define it for all tests

Would it be possible to add a comment so that future maintainers know why the ordering is required here.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/28908#discussion_r2654879058


More information about the net-dev mailing list