test/tools/javac/NonAmbiguousField/Test

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

author
mcimadamore
date
Fri, 29 Apr 2011 16:06:28 +0100
changeset 992
dc3d9ef880a1
parent 1
9a66ca7c79fa
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  * @test
     3  * @bug 4053724
     4  * @summary Certain non-ambiguous field references were reported by the
     5  *          compiler as ambigous.
     6  * @author turnidge
     7  *
     8  * @compile -nowrite one/Parent.java two/Child.java
     9  * @compile -nowrite one/Parent2.java two/Child2.java
    10  */

mercurial