langtools/test/tools/javac/diags/examples/CatchWithoutTry.java
changeset 14450 7a62c5b13d6e
parent 14058 c7ec7facdd20
equal deleted inserted replaced
14449:8b4d83b2354e 14450:7a62c5b13d6e
    20  * or visit www.oracle.com if you need additional information or have any
    20  * or visit www.oracle.com if you need additional information or have any
    21  * questions.
    21  * questions.
    22  */
    22  */
    23 
    23 
    24 // key: compiler.err.catch.without.try
    24 // key: compiler.err.catch.without.try
    25 // key: compiler.err.expected
       
    26 // key: compiler.err.not.stmt
       
    27 // key: compiler.err.lambda.not.supported.in.source
       
    28 
    25 
    29 class CatchWithoutTry {
    26 class CatchWithoutTry {
    30     void m() {
    27     void m() {
    31         catch (Exception e) {
    28         catch (Exception e) {
    32         }
    29         }