8326112: Javadoc snippet for Linker.Option.captureCallState is wrong
Reviewed-by: jvernee
This commit is contained in:
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
|
||||
* }
|
||||
* }
|
||||
|
Loading…
x
Reference in New Issue
Block a user