From b2b8db65337729c73a988942c4d1d287d90ff769 Mon Sep 17 00:00:00 2001 From: Maurizio Cimadamore Date: Tue, 17 Oct 2023 11:09:03 +0000 Subject: [PATCH] 8318180: Memory model reference from foreign package-info is broken Reviewed-by: jvernee --- .../share/classes/java/lang/foreign/package-info.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/java.base/share/classes/java/lang/foreign/package-info.java b/src/java.base/share/classes/java/lang/foreign/package-info.java index 5bb4c5c4206..a427ccf371f 100644 --- a/src/java.base/share/classes/java/lang/foreign/package-info.java +++ b/src/java.base/share/classes/java/lang/foreign/package-info.java @@ -135,8 +135,8 @@ * type must not be null, and any null argument will elicit a {@code NullPointerException}. This fact is not individually * documented for methods of this API. * - * @apiNote Usual memory model guarantees, for example stated in {@jls 6.6} and {@jls 10.4}, do not apply - * when accessing native memory segments as these segments are backed by off-heap regions of memory. + * @apiNote Usual memory model guarantees (see {@jls 17.4}) do not apply when accessing native memory segments as + * these segments are backed by off-heap regions of memory. * * @implNote * In the reference implementation, access to restricted methods can be granted to specific modules using the command line option