test/tools/javac/6330997/T6330997.java

changeset 1042
defdd98cb7ce
parent 554
9d9f26857129
child 2525
2eb010b6cb22
     1.1 --- a/test/tools/javac/6330997/T6330997.java	Tue May 24 15:28:18 2011 -0700
     1.2 +++ b/test/tools/javac/6330997/T6330997.java	Wed Jun 01 23:56:31 2011 -0700
     1.3 @@ -1,5 +1,5 @@
     1.4  /*
     1.5 - * Copyright (c) 2006, 2007, Oracle and/or its affiliates. All rights reserved.
     1.6 + * Copyright (c) 2006, 2011, 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,12 +23,12 @@
    1.11  
    1.12  /**
    1.13   * @test
    1.14 - * @bug     6330997
    1.15 + * @bug     6330997 7025789
    1.16   * @summary javac should accept class files with major version of the next release
    1.17   * @author  Wei Tao
    1.18   * @clean T1 T2
    1.19 - * @compile -target 7 T1.java
    1.20 - * @compile -target 7 T2.java
    1.21 + * @compile -target 8 T1.java
    1.22 + * @compile -target 8 T2.java
    1.23   * @run main/othervm T6330997
    1.24   */
    1.25  

mercurial