test/tools/javac/staticImport/Shadow.java

Print this page

        

*** 25,35 **** * @test * @bug 5017254 * @summary compiler fails to shadow inapplicable method with static import * @author gafter * ! * @compile/fail -source 1.5 Shadow.java */ package shadow; import static shadow.T1.*; --- 25,35 ---- * @test * @bug 5017254 * @summary compiler fails to shadow inapplicable method with static import * @author gafter * ! * @compile/fail Shadow.java */ package shadow; import static shadow.T1.*;