-
Bug
-
Resolution: Fixed
-
P3
-
None
-
repo-panama
After JDK-8282210, the javadoc for restricted methods is out of sync w.r.t. the behavior of the --enable-native-access flag:
```
* @throws IllegalCallerException if access to this method occurs from a module {@code M} and the command line option
* {@code --enable-native-access} is either absent, or does not mention the module name {@code M}, or
* {@code ALL-UNNAMED} in case {@code M} is an unnamed module.
```
```
* @throws IllegalCallerException if access to this method occurs from a module {@code M} and the command line option
* {@code --enable-native-access} is either absent, or does not mention the module name {@code M}, or
* {@code ALL-UNNAMED} in case {@code M} is an unnamed module.
```