-
Bug
-
Resolution: Fixed
-
P3
-
jfx21
Steps to reproduce:
$ gradle :graphcs:test
...
validating packages for modules/javafx.graphics/src/main/java
*** ERROR: File location <modules/javafx.graphics/src/main/java/javafx/scene/package-info.java> does not match package name <example>
FAILURE: Build failed with an exception.
* Where:
Build file 'build.gradle' line: 266
* What went wrong:
Execution failed for task ':graphics:validateSourceSets'.
> FAIL: Package validation failed
The converted package-info.java file has an example with "package example;", which is being picked up as the package for that file by the (too simplistic) parsing done by validateSourceSets in build.gradle.
$ gradle :graphcs:test
...
validating packages for modules/javafx.graphics/src/main/java
*** ERROR: File location <modules/javafx.graphics/src/main/java/javafx/scene/package-info.java> does not match package name <example>
FAILURE: Build failed with an exception.
* Where:
Build file 'build.gradle' line: 266
* What went wrong:
Execution failed for task ':graphics:validateSourceSets'.
> FAIL: Package validation failed
The converted package-info.java file has an example with "package example;", which is being picked up as the package for that file by the (too simplistic) parsing done by validateSourceSets in build.gradle.
- relates to
-
JDK-8310666 gradle validateSourceSets task not run when TEST_ONLY=true
- Resolved
-
JDK-8310667 Normalize comment blocks in newly-converted package-info.java files
- Resolved
-
JDK-8180066 Convert package.html files to package-info.java
- Resolved