8298797: Specification of some restricted methods is incorrect

Reviewed-by: jvernee, pminborg
This commit is contained in:
Maurizio Cimadamore 2022-12-16 10:49:22 +00:00
parent 0ba4734891
commit f771c56e16
6 changed files with 19 additions and 23 deletions

View file

@ -424,6 +424,7 @@ public sealed interface ValueLayout extends MemoryLayout {
* restricted methods, and use safe and supported functionalities, where possible.
*
* @return an unbounded address layout with same characteristics as this layout.
* @throws IllegalCallerException If the caller is in a module that does not have native access enabled.
* @see #isUnbounded()
*/
@CallerSensitive