RFR: 8345937: Update JUnit Platform to newest version
Kevin Rushforth
kcr at openjdk.org
Fri Dec 13 21:35:41 UTC 2024
On Tue, 10 Dec 2024 18:07:44 GMT, Marius Hanl <mhanl at openjdk.org> wrote:
> The JUnit Platform got some updates over the last years, so it is a good idea to update it to the newest version.
>
> That is from `5.8.1` to `5.11.3`.
> Affected dependencies:
> - `junit.jupiter`
> - `junit.platform`
> - `opentest4j`
>
> Release notes: https://junit.org/junit5/docs/5.11.3/release-notes/
>
> Note:
> I did a handful of CI runs and got a test failure once in `ServiceLifecycleTest`. Not sure yet if related to the update or not.
As an FYI, the behavior change that exposed the bug in our test was a deliberate change in JUnit 5.11.
https://github.com/junit-team/junit5/issues/3553
Indeed it was the case that before 5.11, a static method annotated with `@BeforeAll` or `@AfterAll` in a subclass would hide the same named method in the superclass, and starting in 5.11, it no longer does.
-------------
PR Comment: https://git.openjdk.org/jfx/pull/1662#issuecomment-2542416585
More information about the openjfx-dev
mailing list