RFR: 8296283: JUnit5 tests using Params API fails to compile [v2]

Kevin Rushforth kcr at openjdk.org
Mon Nov 7 17:13:43 UTC 2022


On Mon, 7 Nov 2022 16:34:54 GMT, Andy Goryachev <angorya at openjdk.org> wrote:

> We have other tests which use `@RunWith(Parameterized.class)` just fine (for example, SkinMemoryLeakTest). Is this about mixing junit4 and junit5 classes?
> 
> Do we need to make changes in other tests?

No, this bug is about specific APIs that are part of the `junit-jupiter-params` jar file. Specifically, the `ValueSource` and `ParameterizedTest` annotations not being available at compile time in all cases. It works accidentally without the `build.gradle` fix for open builds (e.g., GHA) and fails in our CI build without this change.

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

PR: https://git.openjdk.org/jfx/pull/939


More information about the openjfx-dev mailing list