RFR: 8278430 : Several tests use terminally deprecated System.runFinalization method

Kevin Rushforth kcr at openjdk.java.net
Thu Apr 21 22:22:35 UTC 2022


On Thu, 21 Apr 2022 15:03:04 GMT, Hima Bindu Meda <hmeda at openjdk.org> wrote:

> This PR is to remove calls to deprecated method System.runFinalization.
> Here is the list of module wise test cases affected by the removal:
> 
> **web**:
> test.javafx.scene.web.LeakTest
> 
> **systemTests**:
> test.memoryleak.JSCallbackMemoryTest 
> test.javafx.embed.swing.SwingNodeDnDMemoryLeakTest
> test.javafx.embed.swing.SwingNodeMemoryLeakTest
>  test.javafx.scene.control.AccordionTitlePaneLeakTest 
> test.javafx.scene.control.TabPaneHeaderLeakTest 
> test.javafx.scene.shape.ShapeViewOrderLeakTest test.javafx.scene.shape.meshmanagercacheleaktest.MeshManagerCacheLeakApp test.javafx.stage.FocusedWindowTestBase --tests test.memoryleak.JSCallbackMemoryTest
> test.robot.javafx.web.TooltipFXTest
> 
> **graphics**:
> test.javafx.scene.SceneTest
> 
> **controls**:
>  test.javafx.scene.control.ToggleButtonTest
> test.javafx.scene.control.ControlAcceleratorSupportTest
> 
> **base**:
> 
> Executed above tests for 50 iterations on windows and Mac.
> No regressions observed.All tests run fine.

Looks good. I did a sanity test run on Mac and found no new issues.

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

Marked as reviewed by kcr (Lead).

PR: https://git.openjdk.java.net/jfx/pull/781


More information about the openjfx-dev mailing list