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

Support default and static interface methods in JDI, JDWP and JDB

    XMLWordPrintable

Details

    • 8
    • b10

    Backports

      Description

        Since JDK 8 it is possible to have static methods in interfaces. However, there is no way to execute them from debugger.
        Static method in classes can be run by com.sun.jdi.ClassType.invokeMethod(). But there is missing corresponding com.sun.jdi.InterfaceType.invokeMethod().

        In addition, when an invocation of a default method is attempted it results in error.

        Attachments

          Issue Links

            Activity

              People

                jbachorik Jaroslav Bachorík
                jbachorik Jaroslav Bachorík
                Votes:
                0 Vote for this issue
                Watchers:
                7 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: