groostav
10/01/2018, 10:05 PMA.main as its entry point, the only thing you'll see is NoClassDefFoundError: Cannot find 'com.you.A' correct? without a caused-by ExceptionInInitializer?karelpeeters
10/01/2018, 10:12 PMpublic class A extends B {
public static void main(String[] args) {
System.out.println("Hello world");
}
}
public class B {
static {
if (true) {
throw new RuntimeException();
}
}
}