mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 06:45:07 +02:00
8288068: Javadoc contains spurious reference to CLinker
Reviewed-by: iris
This commit is contained in:
parent
130ce7c6b8
commit
65f0829d64
2 changed files with 5 additions and 5 deletions
|
@ -186,7 +186,7 @@
|
|||
* FunctionDescriptor intCompareDescriptor = FunctionDescriptor.of(ValueLayout.JAVA_INT, ValueLayout.ADDRESS, ValueLayout.ADDRESS);
|
||||
* MethodHandle intCompareHandle = MethodHandles.lookup().findStatic(IntComparator.class,
|
||||
* "intCompare",
|
||||
* CLinker.upcallType(comparFunction));
|
||||
* Linker.upcallType(comparFunction));
|
||||
* }
|
||||
*
|
||||
* As before, we need to create a {@link java.lang.foreign.FunctionDescriptor} instance, this time describing the signature
|
||||
|
@ -199,7 +199,7 @@
|
|||
*
|
||||
* {@snippet lang=java :
|
||||
* MemorySession session = ...
|
||||
* Addressable comparFunc = CLinker.nativeLinker().upcallStub(
|
||||
* Addressable comparFunc = Linker.nativeLinker().upcallStub(
|
||||
* intCompareHandle, intCompareDescriptor, session);
|
||||
* );
|
||||
* }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue