On Wed, 31 Mar 2021 10:29:03 GMT, Marius Hanl 
<github.com+66004280+mara...@openjdk.org> wrote:

>> Small fix to clear a reference to a removed node left by Scene$MouseHandler.
>
> modules/javafx.graphics/src/test/java/test/javafx/scene/SceneTest.java line 
> 978:
> 
>> 976: 
>> 977:     @Test public void 
>> testNoReferencesRemainToRemovedNodeAfterBeingClicked() {
>> 978:         StubToolkit toolkit = (StubToolkit) Toolkit.getToolkit();
> 
> This cast isn't necessary, is it?

Yes, it is necessary, since it won't compile otherwise.

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

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

Reply via email to