We need a test to validate the package declarations in the JavaFX source files. We recently had a regression where a bad package declaration was added (see
JDK-8221941). In the past we've had similar problems with unit tests. We should validate all of the source sets as part of our gradle build / test.