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

Lambda: Support Private concrete methods in interfaces

XMLWordPrintable

    • b53

        Per the lambda spec, hotspot now allows non-abstract instance methods in interfaces.
        Public concrete instance methods are called default methods.
        For JDK8, we will also support private instance methods in bytecodes.

        8006267 added support for invokestatic and invokespecial to call interface methods.
        Note that at the moment, private interface methods need to be ACC_SYNTHETIC and are not supported
        by javac, so any test requires bytecode patching.


              acorn Karen Kinnear (Inactive)
              acorn Karen Kinnear (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: