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

Allow abstract classes for MethodHandleProxies::asInterfaceInstance

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Won't Fix
    • Icon: P4 P4
    • None
    • 22
    • 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.

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

              Created:
              Updated:
              Resolved: