test/tools/javac/mandatoryWarnings/deprecated/B.java

Fri, 29 Apr 2011 16:06:28 +0100

author
mcimadamore
date
Fri, 29 Apr 2011 16:06:28 +0100
changeset 992
dc3d9ef880a1
parent 0
959103a6100f
permissions
-rw-r--r--

6550655: com.sun.tools.javac.code.Symbol$CompletionFailure
Summary: Accessing a non-existing enum constant from an annotation whose class is available results in an internal error
Reviewed-by: jjg

     1 /*
     2  * /nodynamiccopyright/
     3  *
     4  * Test code for Test.sh
     5  */
     8 class B
     9 {
    10     void f() {
    11         B1 b1 = new B1();
    12         B1 b1a = new B1();
    13     }
    14 }
    17 @Deprecated
    18 class B1 {
    19 }

mercurial