--- old/jdk/test/java/util/logging/LoggerSubclass.java 2015-10-09 21:41:59.000000000 +0200 +++ new/jdk/test/java/util/logging/LoggerSubclass.java 2015-10-09 21:41:58.000000000 +0200 @@ -92,7 +92,7 @@ else fail(x + " not equal to " + y);} public static void main(String[] args) throws Throwable { try {new LoggerSubclass().instanceMain(args);} - catch (Throwable e) {throw e.getCause();}} + catch (Throwable e) {throw e.getCause() == null ? e : e.getCause();}} public void instanceMain(String[] args) throws Throwable { try {test(args);} catch (Throwable t) {unexpected(t);} System.out.printf("%nPassed = %d, failed = %d%n%n", passed, failed);