From: Bruce Chapman & Barbara Carey <###@###.###>
To: Peter von der Ah�� <###@###.###>, Jesse Glick <###@###.###>
Subject: FYI Submitted to JLS feedback form JLS | javac | Netbeans inconsistency
Date: Fri, 15 Sep 2006 08:58:23 +1200 (Thu, 13:58 PDT)
The JLS is pretty clear that the annotation types and any class literal
values are outside the scope of any import statements and so must be
(unless from java.lang package) fully qualified.
Indeed javac (JDK 6 B97, I haven't checked others) does resolve type
names in annotations on the package statement using imports.