-
Notifications
You must be signed in to change notification settings - Fork 4
Description
**COPIED FROM https://github.com/MetroCS/redistricting/issues/40 **
Describe the bug
When building under JDK 11, the javadoc task throws error:
[javadoc] javadoc: error - The code being documented uses modules but the packages defined in https://docs.oracle.com/javase/8/docs/api/ are in the unnamed module.
When building under JDK 16, the javadoc task displays warning:
[javadoc] javadoc: warning - The code being documented uses modules but the packages defined in https://docs.oracle.com/javase/8/docs/api/ are in the unnamed module.
To Reproduce
Steps to reproduce the behavior:
Establish JDK 11 or later (verify via javadoc --version)
From project root directory
Issue command ant doc
See error/warning message (shown above)
Expected behavior
No error or warning message associated with use of modules.
Desktop (please complete the following information):
OS: [OSX 10.14.6; OSX 11.5.2]
Version [Oracle JDK 11.0.5, openJDK 12, openJDK 16]