On Fri, 17 Apr 2020 12:57:28 GMT, Ambarish Rapte <ara...@openjdk.org> wrote:
>> The previous version of test failed on my Windows 10 machine with below >> exception, but the updated version does not >> fail, >> test.javafx.stage.FocusedWindowTest > testLeak FAILED >> junit.framework.AssertionFailedError: Expected: <null> but was: >> javafx.stage.Stage@5fe60662 >> at junit.framework.Assert.fail(Assert.java:47) >> at junit.framework.Assert.assertTrue(Assert.java:20) >> at junit.framework.Assert.assertNull(Assert.java:233) >> at junit.framework.Assert.assertNull(Assert.java:226) >> at >> test.javafx.stage.FocusedWindowTest.assertCollectable(FocusedWindowTest.java:133) >> at >> test.javafx.stage.FocusedWindowTest.testLeakOnce(FocusedWindowTest.java:116) >> at >> test.javafx.stage.FocusedWindowTest.testLeak(FocusedWindowTest.java:84) > >> Do you have a good recommendation on how to add it? > > May be a test like `MeshManagerCacheLeakTest` should be able to solve the > problem. I have not tried it myself, please > check if it can help here. See below command ------------- PR: https://git.openjdk.java.net/jfx/pull/153