diff -r b4b0377b8dba -r c7ec7facdd20 langtools/test/tools/javac/diags/examples/CatchWithoutTry.java --- a/langtools/test/tools/javac/diags/examples/CatchWithoutTry.java Thu Oct 04 13:04:53 2012 +0100 +++ b/langtools/test/tools/javac/diags/examples/CatchWithoutTry.java Fri Oct 05 14:35:24 2012 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2010, 2011, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2010, 2012, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -23,6 +23,8 @@ // key: compiler.err.catch.without.try // key: compiler.err.expected +// key: compiler.err.not.stmt +// key: compiler.err.lambda.not.supported.in.source class CatchWithoutTry { void m() {