spring-loaded
spring-loaded copied to clipboard
JVM Crashed on java8 interface default method with 1.2.5
spring-loaded version: 1.2.5
Define a interface like this: ` public interface IStatement {
String getScript();
default void printScript() {
System.out.println(getScript());
}
`
Call this method will crash JVM
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x0000000000000000, pid=45921, tid=31747
#
# JRE version: Java(TM) SE Runtime Environment (8.0_51-b16) (build 1.8.0_51-b16)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (25.51-b03 mixed mode bsd-amd64 compressed oops)
# Problematic frame:
# C 0x0000000000000000
#
# Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
#
# An error report file with more information is saved as:
# /XXXXXXXXXXXXXXXXXXXXXXX/hs_err_pid45921.log
#
# If you would like to submit a bug report, please visit:
# http://bugreport.java.com/bugreport/crash.jsp
#
Disconnected from the target VM, address: '127.0.0.1:49388', transport: 'socket'
Process finished with exit code 134
Same issue with 1.2.6
Same problem with 1.2.6 here.