RFR: 8088420: JavaFX WebView memory leak via EventListener [v2]
Jay Bhaskar
jbhaskar at openjdk.java.net
Thu May 19 15:57:47 UTC 2022
On Thu, 19 May 2022 15:22:08 GMT, Kevin Rushforth <kcr at 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
More information about the openjfx-dev
mailing list