6799230: Lazily load java.lang.annotation.Annotation class

Webrev at:
  http://cr.openjdk.java.net/~mchung/6799230/webrev.00/

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.

Thanks
Mandy

Reply via email to