-
Bug
-
Resolution: Fixed
-
P3
-
11, 15, 16, 17
-
None
-
b27
-
generic
-
generic
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8294353 | 11-pool 15-pool 17-pool | Alexey Pavlyutkin | P3 | Open | Unresolved |
Since JDK-8240169 javadoc is able to create external links to libraries documented with "mismatching" modularity. However, a warning such as the following is generated when this happens:
warning: The code being documented uses packages in the unnamed module, but the packages defined in <URL> are in named modules.
This is a problem for projects using the -Werror option to treat warnings as errors. The message should probably be purely informational and not a warning.
Update: It was decided that the warning should remain as default behaviour, but it should be possible to disable it via a new option.
warning: The code being documented uses packages in the unnamed module, but the packages defined in <URL> are in named modules.
This is a problem for projects using the -Werror option to treat warnings as errors. The message should probably be purely informational and not a warning.
Update: It was decided that the warning should remain as default behaviour, but it should be possible to disable it via a new option.
- backported by
-
JDK-8294353 Provide a way to disable warnings for cross-modular links
-
- Open
-
- csr for
-
JDK-8274969 Javadoc option to disable warnings for cross-modular links
-
- Closed
-
- relates to
-
JDK-8278077 Update javadoc page with new options in JDK 18
-
- Resolved
-
(1 links to)