--- a/jdk/test/java/lang/Throwable/SuppressedExceptions.java Thu Apr 21 17:44:55 2011 -0400
+++ b/jdk/test/java/lang/Throwable/SuppressedExceptions.java Thu Apr 21 15:55:59 2011 -0700
@@ -193,6 +193,7 @@
// Make sure addSuppressed(null) throws an NPE
try {
t.addSuppressed(null);
+ throw new RuntimeException("NPE not thrown!");
} catch(NullPointerException e) {
; // Expected
}
@@ -204,7 +205,7 @@
private static class NoSuppression extends Throwable {
public NoSuppression(boolean enableSuppression) {
- super("The medium.", null, enableSuppression);
+ super("The medium.", null, enableSuppression, true);
}
}
}