test/tools/javac/overload/T5090220.java

Print this page

        

*** 23,33 **** /* * @test * @bug 5090220 * @summary Autoboxing applied when calculating most-specific method ! * @compile/fail -source 5 T5090220.java */ class T5090220 { static void foo(int i1, Integer i2) { System.out.println("Integer"); --- 23,33 ---- /* * @test * @bug 5090220 * @summary Autoboxing applied when calculating most-specific method ! * @compile/fail T5090220.java */ class T5090220 { static void foo(int i1, Integer i2) { System.out.println("Integer");