Allow abstract classes for MethodHandleProxies::asInterfaceInstance

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Won't Fix
    • Priority: P4
    • None
    • Affects Version/s: 22
    • Component/s: core-libs
    • None

      Allow SAM abstract classes with a no-arg accessible constructor to be passed to asInterfaceInstance.

      This is planned per its spec. With the reimplementation in JDK-6983726, accomplishing this becomes quite easy.

      Within the JDK, candidates include ClassValue, InputStream, and OutputStream.

            Assignee:
            Chen Liang
            Reporter:
            Chen Liang
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: