Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

gradle -PFULL_TEST=true -PROBOTPUSE_TESTROBOT=tue true :systemTests:test --tests test.robot.javafx.embed.swing.RT32570Test

...

Each of the build modules in OpenJFX has an addExports file that is imported using @argfile into the test invocation. The addExports file contains entries that export packages that are not public so that the unit tests in the unnamed module can see them. Here is an excerpt from one of the files:

...

    -XaddExports:

...

javafx.base/com.sun.javafx.collections=ALL-UNNAMED

...

    -XaddExports:

...

javafx.

...

base/com.sun.javafx.

...

property=ALL-UNNAMED
    -XaddExports:javafx.base/com.sun.javafx=ALL-UNNAMED

...

    -XaddExports:

...

javafx.

...

base/com.sun.javafx.

...

event=ALL-UNNAMED

...

And example error, that indicates a missing export:

...