summaryrefslogtreecommitdiff
path: root/annotations/generate_annotated_java_files.py
diff options
context:
space:
mode:
authorOrion Hodson <oth@google.com>2020-03-05 21:29:20 +0000
committerOrion Hodson <oth@google.com>2020-03-09 08:55:46 +0000
commit0afe9628c0db24f014ce2056d3f18adf933df974 (patch)
tree6bcea50d1f1d40e4ce2393f1f5819b8b80f16338 /annotations/generate_annotated_java_files.py
parent3057732baeeda1fad849b91bb7bd914d2754229f (diff)
libcore: Remove native calls in FileDescriptor <clinit>
Moves cloning of FileDescriptor in, out, and err descriptors into a ZygoteHook. This avoids the need to run JNI methods in FileDescriptor.<clinit> and enables native Core Platform API checking of FileDescriptor descriptor and ownerId fields. Bug: 144502743 Bug: 150680645 Test: art/test/run-test --host 001-HelloWorld Test: art/tools/run-libcore-tests.sh --mode=host --variant=X64 Test: atest -s <serial> -c CtsLibcoreTestCases:libcore.java.io.FileDescriptorTest Change-Id: I7c65da7555fa041a1e156f93049c8eb3aee2a2f9 Merged-In: I7c65da7555fa041a1e156f93049c8eb3aee2a2f9 (cherry picked from commit 6d0c244d2e7672b09e2417d91160675ee26c9c8a)
Diffstat (limited to 'annotations/generate_annotated_java_files.py')
0 files changed, 0 insertions, 0 deletions