summaryrefslogtreecommitdiff
path: root/java/java_resources.go
diff options
context:
space:
mode:
author Ulya Trafimovich <skvadrik@google.com> 2022-04-27 11:27:58 +0100
committer Ulya Trafimovich <skvadrik@google.com> 2022-04-27 11:59:34 +0100
commit12164ded200a8fea68629d8d5d3befdc997f687a (patch)
treed96fe80e60ffd4fc5f6f4c93268fe03db6910df4 /java/java_resources.go
parent77b99b097bccd034d9fcbfc67db5c38d1f724cdb (diff)
Deduplicate `classLoaderContexts` field between two structs.
This field is provided by the `dexpreopter` struct, which is a part of `java.Module` and also had an identially named field. This created confusion when the latter field was not properly copied into the former, which resulted in not propagating class loader context, e.g. for static library "androidx.preference_preference". This didn't cause class loader context mismatch errors at boot previously, because the library didn't have any uses-library dependencies before a recent prebuilt update. Bug: 214255490 Test: lunch aosp_cf_x86_64_phone-userdebug && m && launch_cvd \ && adb wait-for-device && adb root \ && adb logcat | grep -E 'ClassLoaderContext [a-z ]+ mismatch' # empty output, no errors at boot Change-Id: Ib818c5d2934d28817bb7a04b6114ae8b82a5c04d
Diffstat (limited to 'java/java_resources.go')
0 files changed, 0 insertions, 0 deletions