8326112: Javadoc snippet for Linker.Option.captureCallState is wrong

Reviewed-by: jvernee
This commit is contained in:
Per Minborg 2024-02-19 13:33:09 +00:00
parent a776104e21
commit 82609b1ebc

@ -858,7 +858,7 @@ public sealed interface Linker permits AbstractLinker {
* try (Arena arena = Arena.ofConfined()) {
* MemorySegment capturedState = arena.allocate(capturedStateLayout);
* handle.invoke(capturedState);
* int errno = (int) errnoHandle.get(capturedState);
* int errno = (int) errnoHandle.get(capturedState, 0L);
* // use errno
* }
* }