test/tools/javac/mandatoryWarnings/deprecated/A.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  */
     7 class A
     8 {
     9     void f() {
    10         A1 a1 = new A1();
    11     }
    12 }
    14 @Deprecated
    15 class A1 {
    16 }

mercurial