commit | d3a8a9e960d533f39b6bafc785599eae838a6351 | [log] [tgz] |
---|---|---|
author | John Wu <topjohnwu@google.com> | Thu Dec 08 00:57:01 2022 +0000 |
committer | John Wu <topjohnwu@google.com> | Thu Dec 08 23:29:38 2022 +0000 |
tree | f47fe1efb2dd8c31902ba20d1b0af22e6220b44e | |
parent | 7a2ce22cd5b157aca3124666727c77c3484bc883 [diff] |
Add a new CTS test for DCL read-only enforcement Expose new native method isReadOnlyJavaDclChecked to make sure the CTS test only runs when the enforcement should be performed. In addition, always log an error message when writable JAR/DEX files are being loaded regardless of target SDK version to increase visibility. Test: atest BaseDexClassLoaderTest Bug: 218865702 Change-Id: Ic4ff506d33b5b789e09bfdb88de9eae6e1a3cfc6