|
Relates :
|
|
|
Relates :
|
Reported at: http://mail.openjdk.java.net/pipermail/hotspot-dev/2014-January/012320.html
interface A {
default int getOne() {
return 1;
}
}
class Impl implements A {
public int getOne() {
return 2;
}
}
It is not possible to call A.getOne() using JNI since CallNonvirtual<type>Method() does not consider default methods.
|