Review request for 6799230

Mandy Chung Mandy.Chung at Sun.COM
Tue Mar 3 18:25:43 UTC 2009


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



More information about the core-libs-dev mailing list