Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

No need for bytecode when a stacktrace will do :-)

    public static void main(String... args) {
        Runnable r = () -> {
            ((Object)null).toString(); // kaboom
        };
        r.run();
    }


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: