summaryrefslogtreecommitdiff
path: root/annotations/generate_annotated_java_files.py
diff options
context:
space:
mode:
authorNeil Fuller <nfuller@google.com>2016-08-18 16:25:55 +0100
committerNeil Fuller <nfuller@google.com>2016-08-25 17:58:34 +0100
commit20938c5ed2bc8f5de8047a47caddb146f730868f (patch)
tree3cdcf7318fc5ef529da40ddadf127b5f295e7876 /annotations/generate_annotated_java_files.py
parenta3d5b7120f477b877a3b6dd142c2b5d9b9201a32 (diff)
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
Diffstat (limited to 'annotations/generate_annotated_java_files.py')
0 files changed, 0 insertions, 0 deletions