-
Bug
-
Resolution: Fixed
-
P3
-
22, 23
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8333621 | 22.0.2 | Per-Ake Minborg | P3 | Closed | Won't Fix |
The javadoc for this method:
https://docs.oracle.com/en/java/javase/22/docs/api/java.base/java/lang/foreign/Linker.html#downcallHandle(java.lang.foreign.MemorySegment,java.lang.foreign.FunctionDescriptor,java.lang.foreign.Linker.Option...)
Seems bogus:
* it refers to "symbol" while the method takes "address"
* "options" is not passed to the delegated method in the snippet
https://docs.oracle.com/en/java/javase/22/docs/api/java.base/java/lang/foreign/Linker.html#downcallHandle(java.lang.foreign.MemorySegment,java.lang.foreign.FunctionDescriptor,java.lang.foreign.Linker.Option...)
Seems bogus:
* it refers to "symbol" while the method takes "address"
* "options" is not passed to the delegated method in the snippet
- backported by
-
JDK-8333621 Typo in Linker javadoc
-
- Closed
-