Import java/lang/annotation/* from 11+28
The main reason for this change is to introduce MODULE enum value in
java.lang.annotation.ElementType.
This change also introduces javadoc updates for all classes under
java.lang.annotation package.
Removed serialization test asserting AnnotationTypeMismatchException is
not serializable. Before this change AnnotationTypeMismatchException had
non-tranisent field of type Method, after it the field became transient
so there's no need in that test at all.
Bug: 178106411
Test: m droid
atest libcore.java.lang.annotation.AnnotationTypeMismatchExceptionTest
manually ensure MODULE is available
Change-Id: I4895531c87530ff2783ef51b0686cb6a4b0dba65
11 files changed