20938c5ed2bc8f5de8047a47caddb146f730868f |
|
18-Aug-2016 |
Neil Fuller <nfuller@google.com> |
Pulling in the OpenJDK 8 Executable class and related changes This change restructures the existing code to accept Executable. This change involves changes to java.lang / java.lang.reflect Java code and ART internals. The Parameter code associated with Executable has been excluded and will be added as a follow up. Many of the upstream JavaDoc changes to some of the pre-existing files will also be handled as a follow-up to make this change smaller / easier to review. This contains the parts that would be hard to split out. The only intentional public API change is the addition of Executable/Method/Constructor getParameterCount() and Type.getTypeName(). Tests have been added for these. Some additional tests have been added to cover existing methods and cases like toString(). The changes to Modifier result in a change to Method.toString() which was previously not outputting "default" for default interface methods. Associated test lines confirming this behavior have now been uncommented. Bug: 28666126 Test: cts ran for libcore (libcore, harmony_java_lang, org) Change-Id: If94f2723b1ac28c08e52921c9860f54da04e168d
|
9599ec54b164da29db4e3386a9839aca73caf8ee |
|
01-Feb-2016 |
Igor Murashkin <iam@google.com> |
Revert "Revert "reflection: Add new AnnotatedElement 1.8 methods."" This reverts commit ac6e7a426c30abe6de4361c95755ff759845265f. Runtest failure has been fixed in I28c3707e38c1f69ea9d3660f68136f688122ac4e Change-Id: I1749dc89b790d44b5e40bc8b20aa62885bda792b
|
ac6e7a426c30abe6de4361c95755ff759845265f |
|
29-Jan-2016 |
Nicolas Geoffray <ngeoffray@google.com> |
Revert "reflection: Add new AnnotatedElement 1.8 methods." Fails interpreter access checks. This reverts commit 4d4ff5e7b929a404fc9f16232c639b7a11969489. Change-Id: Ie3b7f44b653dacc5a6d18eae5bff34fe2cb2cdfc
|
4d4ff5e7b929a404fc9f16232c639b7a11969489 |
|
15-Jan-2016 |
Igor Murashkin <iam@google.com> |
reflection: Add new AnnotatedElement 1.8 methods. Methods are currently @hide 1.8 and default is commented out. Needs corresponding runtime change to run. Change-Id: I8420a4d208bb60874a9cf996766313c7d5058c45
|