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

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

XMLWordPrintable

    • 8

        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.

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

                Created:
                Updated:
                Resolved: