test/tools/javac/annotations/neg/Z13.java

Print this page

        

*** 25,35 **** * @test * @bug 4865660 * @summary implement "metadata" (attribute interfaces and program annotations) * @author gafter * ! * @compile/fail -source 1.5 Z13.java */ @interface An { int a() throws NullPointerException; } --- 25,35 ---- * @test * @bug 4865660 * @summary implement "metadata" (attribute interfaces and program annotations) * @author gafter * ! * @compile/fail Z13.java */ @interface An { int a() throws NullPointerException; }