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

Print this page

        

*** 25,35 **** * @test * @bug 4901280 * @summary name lookup scope for annotations * @author gafter * ! * @compile/fail -source 1.5 Scope.java */ package annotation.scope; @A(red) // error: red not in scope. --- 25,35 ---- * @test * @bug 4901280 * @summary name lookup scope for annotations * @author gafter * ! * @compile/fail Scope.java */ package annotation.scope; @A(red) // error: red not in scope.