test/tools/javac/policy/test1/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 119
1e83972f53fb
child 2525
2eb010b6cb22
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 /* /nodynamiccopyright/ */
     2 class B
     3 {
     4     B() {
     5     }
     6 }
     9 class B1
    10 {
    11     B1() {
    12         x = 1;
    13     }
    14 }
    16 class B2
    17 {
    18     B2() {
    19     }
    20 }

mercurial