Do not change hidden API ArtMethod/ArtField access flags on AOT
Hidden API may change the access flags of ArtMethod/ArtField in order to dedupe warnings in logcat. Avoid doing that during AOT compilation as the updated access flags would survive until runtime in the boot/app image. This is not a problem for correctness, but better matches expectations of what the access flags should be and whether we should warn at runtime. Test: compiles Bug: 129063331 Merged-In: I44e235d73914bd42eacf3df69f9ed5285c1e864a Change-Id: I44e235d73914bd42eacf3df69f9ed5285c1e864a (cherry picked from commit 0039bc553788c18ba7f619b555d744f548ae749e)
Loading
Please sign in to comment