8334708: FFM: two javadoc problems

Reviewed-by: mcimadamore
This commit is contained in:
Hannes Greule 2024-06-22 12:16:50 +00:00 committed by Chen Liang
parent 7e55ed3b10
commit 72ca7bafcd
2 changed files with 2 additions and 2 deletions

View File

@ -222,7 +222,7 @@ import java.util.stream.Stream;
* <pre>
* MemoryLayout.structLayout(
* ValueLayout.JAVA_INT.withName("x"),
* MemoryLayout.paddingLayout(32),
* MemoryLayout.paddingLayout(4),
* ValueLayout.JAVA_LONG.withName("y")
* );
* </pre>

View File

@ -369,7 +369,7 @@ import jdk.internal.foreign.layout.UnionLayoutImpl;
* int size = ...
* MemorySegment points = ...
* for (int i = 0 ; i < size ; i++) {
* ... POINT_ARR_X.get(segment, 0L, (long)i) ...
* ... POINT_ARR_X.get(points, 0L, (long)i) ...
* }
* }
*