On Thu, 19 May 2022 15:22:08 GMT, Kevin Rushforth <k...@openjdk.org> wrote:
>> Jay Bhaskar has updated the pull request incrementally with one additional >> commit since the last revision: >> >> Platform.exit() , removing code block, as it is causing other test fail > > modules/javafx.web/src/test/java/test/javafx/scene/web/EventListenerLeakTest.java > line 113: > >> 111: public static void cleanupOnce() { >> 112: Platform.exit(); >> 113: } > > I just noticed that this will cause subsequent tests to fail. Unit tests > should not call `Platform.exit()` (as opposed to system tests, which should). > You can remove the entire method. applied ------------- PR: https://git.openjdk.java.net/jfx/pull/799