| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Disable the public SDK Checker during exception throwing | Calin Juravle | 2021-01-21 | 1 | -0/+5 |
| | | | | | | | | | | | | | | | | | | | | The compiler will try to throw exception when it cannot resolved methods/classes or when there's an incompatible class change. While doing so, it requires the thrown exception class to be initialized. However, when verifying with a public SDK Checker installed, it's possible that the exception class may not initialized due to private member access (e.g. serialVersionUid). Since during verification the exceptions are simply mechanism for the compiler to propagate the verification error it is OK to disable the SDK Checker and allow the class to be initialized. Bug: 177017481 Test: m test-art-host & manual Change-Id: I3765897bf9885b7e26b3ab044002df88866cd3cd | ||||
| * | SDK-stub controlled dex2oat verification | Calin Juravle | 2020-12-08 | 1 | -0/+71 |
| Allow dex2oat to further limit the resolved (boot classpath) symbols during verification according to an additional list of public SDK files. The additional SDKs can be specified as regular classpath (a list of dex files) and has the effect of limiting what can be resolved from the boot classpath. The extra checks are performed by comparing the symbol descriptors and do not replace common verification access-checks flow. Bug: 111442216 Test: test-art-host Change-Id: Idc13722f34b591d7f858ebeb94bd6f568102b458 | |||||
