From Remi Forax
There is a lot of dormant bugs, a lot of 'final' on field are missing,
some codes shoud have never pass the review,
see AnnotationSupport.getMultipleAnnotations(),
that creates an Arraylist to at the end returns an empty array
or AnnotationSupport.getValueArray() that contains a printStackTrace().
And the exception logic of most of the methods should be re-written
to cleanly separate exceptions that comes from dubious separate compilations
and the one coming from bad logic in the code itself.
There is a lot of dormant bugs, a lot of 'final' on field are missing,
some codes shoud have never pass the review,
see AnnotationSupport.getMultipleAnnotations(),
that creates an Arraylist to at the end returns an empty array
or AnnotationSupport.getValueArray() that contains a printStackTrace().
And the exception logic of most of the methods should be re-written
to cleanly separate exceptions that comes from dubious separate compilations
and the one coming from bad logic in the code itself.
- duplicates
-
JDK-8004110 Remove debug code form sun/reflect/annotation/AnnotationSupport.java
- Closed
- relates to
-
JDK-8004110 Remove debug code form sun/reflect/annotation/AnnotationSupport.java
- Closed
-
JDK-7154390 Add support for repeating annotations in j.l.r.AnnotatedElement
- Closed