RFR: 8244297: memory leak test utility [v4]

Kevin Rushforth kcr at openjdk.java.net
Thu Oct 1 17:32:04 UTC 2020


On Wed, 30 Sep 2020 12:36:50 GMT, Kevin Rushforth <kcr at openjdk.org> wrote:

>> I've fixed the wrong imports. It would be great if Travis could check whether all systemTests are compiling.
>
> Thanks, we'll review it now.
> 
> Btw, we don't plan to hook up Travis, but instead will be looking at GitHub actions now that the `jdk` project is using
> them successfully.

It looks like you are missing an import statement in one of the tests:

> Task :systemTests:compileTestJava
...\jfx\tests\system\src\test\java\test\javafx\scene\InitialNodesMemoryLeakTest.java:88: error: cannot find symbol
        JMemoryBuddy.assertCollectable("groupWRef");
        ^
  symbol:   variable JMemoryBuddy
  location: class InitialNodesMemoryLeakTest
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
1 error

You can run the following locally on your system once you have fixed this to verify that there are no others.

gradle --continue -PFULL_TEST=true test

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

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


More information about the openjfx-dev mailing list