mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 14:54:52 +02:00
8326112: Javadoc snippet for Linker.Option.captureCallState is wrong
Reviewed-by: jvernee
This commit is contained in:
parent
a776104e21
commit
82609b1ebc
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue