-
Enhancement
-
Resolution: Fixed
-
P4
-
7
-
b51
-
generic
-
generic
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-2175202 | 6u14 | Mandy Chung | P3 | Resolved | Fixed | b05 |
java.lang.annotation.Annotation class is always loaded when loading java.lang.Class, java.lang.reflect.Constructor, java.lang.reflect.Method, and java.lang.reflect.Field due to a static field EMPTY_ANNOTATION_ARRAY.
This dependency is only needed when the getAnnotations or getDeclaredAnnotation method is called. So java.lang.annotation.Annotation can be made lazily loaded.
This dependency is only needed when the getAnnotations or getDeclaredAnnotation method is called. So java.lang.annotation.Annotation can be made lazily loaded.
- backported by
-
JDK-2175202 Lazily load java.lang.annotation.Annotation class
-
- Resolved
-
- relates to
-
JDK-6798873 Reduce the number of classes loaded and class dependencies
-
- Closed
-