RFR: 8264330: Scene MouseHandler is referencing removed nodes
Kevin Rushforth
kcr at openjdk.java.net
Wed Mar 31 21:27:15 UTC 2021
On Wed, 31 Mar 2021 13:13:01 GMT, Kevin Rushforth <kcr at openjdk.org> wrote:
>> Small fix to clear a reference to a removed node left by Scene$MouseHandler.
>
> The fix looks good to me. I haven't run the test yet, but it seems OK except for the handling of GC to check for the leak (I left an inline comment).
Oh, I thought that `javafx.graphics` already referenced it. The following should be sufficient:
--- a/build.gradle
+++ b/build.gradle
@@ -2089,6 +2089,7 @@ project(":graphics") {
stubCompile group: "junit", name: "junit", version: "4.8.2"
antlr group: "org.antlr", name: "antlr4", version: "4.7.2", classifier: "complete"
+ testCompile project(":base").sourceSets.test.output
compile project(':base')
}
-------------
PR: https://git.openjdk.java.net/jfx/pull/448
More information about the openjfx-dev
mailing list