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

Add an overload to Linker::downcallHandle allowing interface mapping

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Unresolved
    • Icon: P3 P3
    • None
    • None
    • core-libs
    • None

      The ergonomics of downcalls may be improved substantially if clients can add an interface type literal (where the interface class is marked with a `@FunctionalInterface` annotation). The new overload would return an implementation of that interface so that clients can work directly with more traditional Java code.

            pminborg Per-Ake Minborg
            pminborg Per-Ake Minborg
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: