RFR: 8345937: Update JUnit Platform to newest version

Kevin Rushforth kcr at openjdk.org
Fri Dec 13 19:08:46 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.

I'm almost sure that this is the case, given this:

>        at app//test.util.Util.shutdown(Util.java:316)
>        at app//test.robot.javafx.embed.swing.SwingNodeBase.teardownOnce(SwingNodeBase.java:81)

For the test in question, the `Utils::shutDown` method called by `SwingNodeBase.teardownOnce` must be skipped.

It will be an easy test fix. I'll file a follow-up bug for it.

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

PR Comment: https://git.openjdk.org/jfx/pull/1662#issuecomment-2542077359


More information about the openjfx-dev mailing list