J2SE Version (please include all output from java -version flag):
java version "1.5.0_03"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_03-b07)
Java HotSpot(TM) Client VM (build 1.5.0_03-b07, mixed mode, sharing)
and
java version "1.6.0-ea"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.6.0-ea-b38)
Java HotSpot(TM) Client VM (build 1.6.0-ea-b38, mixed mode)
Does this problem occur on J2SE 1.3.x or 1.4.x? Yes / No (pick one)
N/A
Operating System Configuration Information (be specific):
Win 2K
Bug Description:
apt, Class<?> annotation value not matching required bounds,
AnnotationValue.getValue() returns String "<error>" not a
TypeMirror as expected.
Steps to Reproduce (be specific):
In same directory as attached source files
javac -cp "%JAVA_HOME%\lib\tools.jar" SomeProcessor.java Programatic.java
java -cp .;"%JAVA_HOME%\lib\tools.jar" Programatic
See the note at Src2Process.java:3
###@###.### 2005-05-31 15:55:34 GMT
java version "1.5.0_03"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_03-b07)
Java HotSpot(TM) Client VM (build 1.5.0_03-b07, mixed mode, sharing)
and
java version "1.6.0-ea"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.6.0-ea-b38)
Java HotSpot(TM) Client VM (build 1.6.0-ea-b38, mixed mode)
Does this problem occur on J2SE 1.3.x or 1.4.x? Yes / No (pick one)
N/A
Operating System Configuration Information (be specific):
Win 2K
Bug Description:
apt, Class<?> annotation value not matching required bounds,
AnnotationValue.getValue() returns String "<error>" not a
TypeMirror as expected.
Steps to Reproduce (be specific):
In same directory as attached source files
javac -cp "%JAVA_HOME%\lib\tools.jar" SomeProcessor.java Programatic.java
java -cp .;"%JAVA_HOME%\lib\tools.jar" Programatic
See the note at Src2Process.java:3
###@###.### 2005-05-31 15:55:34 GMT
- relates to
-
JDK-6278240 Exception from AnnotationValue.getValue() should list the found type not the required type
- Closed