8318601: Remove javadoc text about restricted methods

Reviewed-by: alanb
This commit is contained in:
Maurizio Cimadamore 2023-10-20 14:29:17 +00:00
parent 40106422bd
commit 91442878b7
5 changed files with 0 additions and 40 deletions

View file

@ -305,10 +305,6 @@ public final class ModuleLayer {
* Enables native access for a module in the layer if the caller's module
* has native access.
*
* <p> This method is <a href="foreign/package-summary.html#restricted"><em>restricted</em></a>.
* Restricted methods are unsafe, and, if used incorrectly, their use might crash
* the JVM or, worse, silently result in memory corruption.
*
* @param target
* The module to update
*