Relates :
|
|
Relates :
|
|
Relates :
|
If I use Class.getAnnotations to discover all the annotations on a class, and the class includes annotations that are unknown to the runtime (e.g., because the class was annotated with vendor-specific annotations for one app server and is being deployed on another app server), I get an exception and can't discover any of the annotations on the class. According to the JSR-175 spec lead, unknown annotations must be ignored by getAnnotations.
|