Duplicate :
|
When run sqe test defmeth, crashed on debug version. Stacktrace: [java] TEST: PrivateMethodsTest.testPrivateInvokeVirtual [java] [java] interface I { [java] default private int privateM() { return 1; } [java] default public int m() { return ((I)this).privateM(); } [java] } [java] class C implements I {} [java] TEST: I o = new C(); o.m()I == 1 [java] TEST: C o = new C(); o.m()I == 1 [java] # To suppress the following error report, specify this argument [java] # after -XX: or in .hotspotrc: SuppressErrorAt=/linkResolver.cpp:972 [java] # [java] # A fatal error has been detected by the Java Runtime Environment: [java] # [java] # Internal Error (/HUDSON/workspace/8-2-build-linux-amd64/jdk8/312/hotspot/src/share/vm/interpreter/linkResolver.cpp:972), pid=13055, tid=140072885548800 [java] # assert(vtable_index >= 0) failed: we should have valid vtable index at this point [java] # [java] # JRE version: Java(TM) SE Runtime Environment (8.0-b109) (build 1.8.0-ea-fastdebug-b109) [java] # Java VM: Java HotSpot(TM) 64-Bit Server VM (25.0-b51-fastdebug mixed mode linux-amd64 compressed oops) [java] # Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again [java] #