Details
-
Bug
-
Resolution: Fixed
-
P4
-
9, 14, 15, 16
-
b20
Description
The API documentation of method isAutomatic() in class ModuleDescriptor links to the wrong modifier constant.
Line 1334 of ModuleDescriptor.java contains:
`... {@link Modifier#OPEN AUTOMATIC} modifier.`
It should read:
`... {@link Modifier#AUTOMATIC AUTOMATIC} modifier.`
to link to AUTOMATIC modifier.
Here is a link to the line in question:
https://github.com/openjdk/jdk/blob/master/src/java.base/share/classes/java/lang/module/ModuleDescriptor.java#L1334
Line 1334 of ModuleDescriptor.java contains:
`... {@link Modifier#OPEN AUTOMATIC} modifier.`
It should read:
`... {@link Modifier#AUTOMATIC AUTOMATIC} modifier.`
to link to AUTOMATIC modifier.
Here is a link to the line in question:
https://github.com/openjdk/jdk/blob/master/src/java.base/share/classes/java/lang/module/ModuleDescriptor.java#L1334