test/tools/javac/generics/T4695415.java

Print this page

        

@@ -25,11 +25,11 @@
  * @test
  * @bug 4695415
  * @summary generics: bug in type inference when method result used as an argument
  * @author gafter
  *
- * @compile -source 1.5 T4695415.java
+ * @compile  T4695415.java
  */
 
 class X<T extends Number> {
     static <T extends Number> X<T> f(X<T> a, X<T> b) {
         return f(f(a, b), b);