-
Bug
-
Resolution: Fixed
-
P4
-
5.0
-
b123
-
generic
-
solaris_8
If an annotation type's default is not found, it is treated as an error.
This is related to the following code in java.lang.reflect.Method:
705 if (result instanceof sun.reflect.annotation.ExceptionProxy)
706 throw new AnnotationFormatError("Invalid default: " + this);
This is related to the following code in java.lang.reflect.Method:
705 if (result instanceof sun.reflect.annotation.ExceptionProxy)
706 throw new AnnotationFormatError("Invalid default: " + this);
- relates to
-
JDK-5040830 (ann) please improve toString() for annotations containing exception proxies
-
- Closed
-
-
JDK-6322301 unknown annotations are not ignored in Class.getAnnotations
-
- Closed
-