Relates :
|
|
Relates :
|
|
Relates :
|
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.
|