summaryrefslogtreecommitdiff
path: root/test/961-default-iface-resolution-gen/util-src/generate_java.py
diff options
context:
space:
mode:
author Jiakai Zhang <jiakaiz@google.com> 2023-06-01 19:03:42 +0100
committer Cherrypicker Worker <android-build-cherrypicker-worker@google.com> 2024-01-26 16:30:59 +0000
commit6e93863c09dd96fc6b874d5a33144ff65b950956 (patch)
tree203088324320d312909f5176ed8bf7f30a9aa7d5 /test/961-default-iface-resolution-gen/util-src/generate_java.py
parent828160aaf192ab7c60d0efd2811fb51c59b14efb (diff)
Stop checking the PROT_EXEC bit in dexpreopt test.
When the test was written, odex files didn't get unmapped if the runtime rejects them in some cases (e.g., CLC mismatch). Therefore, we needed to check the PROT_EXEC flag to ensure that they are valid. That's not the case anymore. Today, app images do get unmapped if rejected. The check on the PROT_EXEC flag has a drawback: if an odex file is generated with the "verify" compiler filter, it won't contain any code and therefore won't be mapped with PROT_EXEC. In this case, the test will report false positives. Bug: 267540738 Test: atest art_standalone_dexpreopt_tests (cherry picked from https://android-review.googlesource.com/q/commit:83d429403f6eebdeb3c4bc84a652dad632fa15e6) Merged-In: I6bcdcb7ccc9c1fff1773b362eaff3fc44c40d46b Change-Id: I6bcdcb7ccc9c1fff1773b362eaff3fc44c40d46b
Diffstat (limited to 'test/961-default-iface-resolution-gen/util-src/generate_java.py')
0 files changed, 0 insertions, 0 deletions