OSDN Git Service

Remove AnnotationAccess and its remaining uses.
authorJeff Hao <jeffhao@google.com>
Tue, 5 Apr 2016 02:50:14 +0000 (19:50 -0700)
committerJeff Hao <jeffhao@google.com>
Thu, 7 Apr 2016 18:20:07 +0000 (11:20 -0700)
commit08305325d3468d5ef413eb0b36b1ea1b3746a6c4
tree14757033ece4deacf365902a6cd3d5cb923a5b17
parent5650650dbb97460adb957a6da3f320ef9574bc6b
Remove AnnotationAccess and its remaining uses.

Art side of this change. Adds a test to ensure annotations not marked
for runtime retention can't be seen at runtime.

Bug: 27912552

(cherry picked from commit 1133db79350060158f99210c56f111c6dad43563)

Change-Id: I090a90bc82fc9b5e51aba02dcb3d8cccb6fb0f90
runtime/Android.mk
runtime/dex_file.cc
runtime/dex_file.h
runtime/native/java_lang_Class.cc
runtime/native/java_lang_reflect_AbstractMethod.cc [new file with mode: 0644]
runtime/native/java_lang_reflect_AbstractMethod.h [new file with mode: 0644]
runtime/native/java_lang_reflect_Method.cc
runtime/runtime.cc
test/005-annotations/expected.txt
test/005-annotations/src/android/test/anno/TestAnnotations.java
test/031-class-attributes/src/ClassAttrs.java