diff -r a7faadc252c8 -r 4328728e0409 test/tools/javac/TryWithResources/TwrSuppression.java --- a/test/tools/javac/TryWithResources/TwrSuppression.java Sat Nov 13 19:00:43 2010 -0800 +++ b/test/tools/javac/TryWithResources/TwrSuppression.java Sun Nov 14 07:16:46 2010 -0800 @@ -36,7 +36,7 @@ throw new RuntimeException(); } } catch(RuntimeException e) { - Throwable[] suppressedExceptions = e.getSuppressedExceptions(); + Throwable[] suppressedExceptions = e.getSuppressed(); int length = suppressedExceptions.length; if (length != 2) throw new RuntimeException("Unexpected length " + length);