RFR: JDK-8323543: NPE when table items are set to null [v4]

Marius Hanl mhanl at openjdk.org
Thu Jan 11 19:12:38 UTC 2024


On Thu, 11 Jan 2024 18:56:13 GMT, Kevin Rushforth <kcr at openjdk.org> wrote:

> Although... I just spotted something. The updated tests use JUnit5 assertions into what is otherwise a JUnit4 test. We generally avoid doing this.

Should we use the JUnit5 `@Test` annotation, or migrate the class to JUnit5? The migration is also fine, although some assert need to be switched from `assertEquals(text, expected, actual)` -> `assertEquals(expected, actual, text)`

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

PR Comment: https://git.openjdk.org/jfx/pull/1329#issuecomment-1887792781


More information about the openjfx-dev mailing list