test/tools/javac/diags/examples/CatchWithoutTry.java

changeset 1348
573ceb23beeb
parent 1144
9448fe783fd2
child 1400
19d6ba779759
     1.1 --- a/test/tools/javac/diags/examples/CatchWithoutTry.java	Thu Oct 04 13:04:53 2012 +0100
     1.2 +++ b/test/tools/javac/diags/examples/CatchWithoutTry.java	Fri Oct 05 14:35:24 2012 +0100
     1.3 @@ -1,5 +1,5 @@
     1.4  /*
     1.5 - * Copyright (c) 2010, 2011, Oracle and/or its affiliates. All rights reserved.
     1.6 + * Copyright (c) 2010, 2012, Oracle and/or its affiliates. All rights reserved.
     1.7   * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     1.8   *
     1.9   * This code is free software; you can redistribute it and/or modify it
    1.10 @@ -23,6 +23,8 @@
    1.11  
    1.12  // key: compiler.err.catch.without.try
    1.13  // key: compiler.err.expected
    1.14 +// key: compiler.err.not.stmt
    1.15 +// key: compiler.err.lambda.not.supported.in.source
    1.16  
    1.17  class CatchWithoutTry {
    1.18      void m() {

mercurial