Bug #8119
JavaDoc build task produces more warnings in Windows in comparison to Linux
100%
History
#1 Updated by Galya B 5 months ago
- File trunk-r14864-linux-javadoc.log added
- File trunk-r14864-win-javadoc.log added
./gradlew ant-javadoc
build task produces more warnings in Windows in comparison to Linux.
#4 Updated by Greg Shah 5 months ago
I don't know of a way to make OpenJDK show them. I'd be glad to see them (as long as it was optional) because to find these now we have to run Oracle JDK which is extra work.
Anyway, our policy is to fix these as we go along but only to require the ones that show in OpenJDK. We'd like to get this 100% clean someday but it is not the highest priority since we have no customers that actually use the Oracle JDK.
#5 Updated by Galya B 5 months ago
- File trunk-r14864-linux-javadoc-xdoclint-all.log added
- File ant-javadoc.diff added
Here it is: The same output with -Xdoclint:all
. So do we want to open the Pandora box?
#7 Updated by Galya B 5 months ago
Once upon a time I got a project with configured linter that wasn't used. I enabled a test plan in the CI/CD for each feature branch. If a file was updated, the linter ran for it. The failed branch couldn't be merged before the issues were resolved. You can't imagine how quickly the project got back on track. I would love to see FWD with linter in CI/CD. Then Constantin will not have to mention ant-javadoc
to me in every code review, while other reviewers are sneaking in new issues.
Back to reality: I'll have to look into how to pass in -D
options down to ant.
#9 Updated by Galya B 5 months ago
- File 14875.diff added
- % Done changed from 0 to 100
- Assignee set to Galya B
- Status changed from New to WIP
8119a r14874,14875: Option added to javadoc task to show all warnings.
#15 Updated by Greg Shah 5 months ago
Please add this new property to Build Properties.
#16 Updated by Galya B 5 months ago
New param javadoc.verbose
added to Building_FWD_From_Source.