Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8330176

Typo in Linker javadoc

XMLWordPrintable

        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

              pminborg Per-Ake Minborg
              mcimadamore Maurizio Cimadamore
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: