test/tools/javac/generics/typevars/5060485/Compatibility.java

changeset 639
a75770c0d7f6
parent 554
9d9f26857129
child 798
4868a36f6fd8
     1.1 --- a/test/tools/javac/generics/typevars/5060485/Compatibility.java	Thu Aug 19 11:52:58 2010 +0100
     1.2 +++ b/test/tools/javac/generics/typevars/5060485/Compatibility.java	Thu Aug 19 11:54:25 2010 +0100
     1.3 @@ -26,7 +26,7 @@
     1.4   * @bug     5060485
     1.5   * @summary The scope of a class type parameter is too wide
     1.6   * @author  Peter von der Ah\u00e9
     1.7 - * @compile/fail Compatibility.java
     1.8 + * @compile/fail/ref=Compatibility.out -XDrawDiagnostics Compatibility.java
     1.9   */
    1.10  
    1.11  class NumberList<T extends Number> {}

mercurial