summaryrefslogtreecommitdiff
path: root/annotations/generate_annotated_java_files.py
diff options
context:
space:
mode:
authorPaul Duffin <paulduffin@google.com>2018-08-31 16:02:51 +0100
committerPaul Duffin <paulduffin@google.com>2018-09-06 12:12:09 +0100
commit266d2179eb08ec189c1987f513cb55ed30dc5ea0 (patch)
treefe6d6d11b671688fd5e7b8a5de1e9af542577fca /annotations/generate_annotated_java_files.py
parentf7427457432611ea43eb8dcbb7b24e5cbbbc9cce (diff)
Verify j.l.invoke.MethodHandleInfo/Natives against OpenJDK 8u121-b13
The MethodHandleInfo class has a number of patches to inline constants and methods from the upstream MethodHandleNatives class instead of just including the MethodHandleNatives class. This change adds the MethodHandleNatives class and reverts those patches. The MethodHandleNatives class does require some patches in order to remove code that does not compile or which is otherwise unused. However, patches that remove code are generally less risky and easier to maintain than patches that change the code so this seems like a better trade off. The refKind...() methods in MethodHandleInfo could not be removed because they were accidentally added to the public API in API level 26. The removal of those methods can be tracked under bug 114175595. Bug: 74379469 Test: make checkbuild, flash and start up device Change-Id: I843707564e9cf5c7fbf52bfa7ce4b6a2b10c0836
Diffstat (limited to 'annotations/generate_annotated_java_files.py')
0 files changed, 0 insertions, 0 deletions