package f; public class Main implements Runnable { public static void main(String[] args) { Thread.setDefaultUncaughtExceptionHandler((t,e)->System.exit(1)); new Thread(null, new Main(), "", 8L * 1024 * 1024).start(); } public void run() { throw new RuntimeException(); } }