diff options
author | 2021-12-02 11:50:03 +0000 | |
---|---|---|
committer | 2022-01-13 00:26:45 +0000 | |
commit | 32b8c8f33ad68982357c1fa3d0f132d06b070ab5 (patch) | |
tree | 578504a572bfe61ddc22cfb6ce5013bcae28882e /test/2238-checker-load-class-multidex/src/Main.java | |
parent | 8515f7fcf0fca795e5408ab691846b23ba608bda (diff) |
Expand sharpening's ComputeLoadClassKind to cover cross-dex cases
We can handle some extra cross-dex cases in order to expand the support.
Bug: 154012332
Test: ART tests
Change-Id: Ic3220d809086b4b3007bf5b6d63789ffb1b91fb9
Diffstat (limited to 'test/2238-checker-load-class-multidex/src/Main.java')
-rw-r--r-- | test/2238-checker-load-class-multidex/src/Main.java | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/test/2238-checker-load-class-multidex/src/Main.java b/test/2238-checker-load-class-multidex/src/Main.java new file mode 100644 index 0000000000..a2f595dcab --- /dev/null +++ b/test/2238-checker-load-class-multidex/src/Main.java @@ -0,0 +1,22 @@ +/* + * Copyright (C) 2021 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +final class Main { + public static void main(String[] args) { + pkg1.SubClass.$noinline$callMethod(); + Caller.doCall(); + } +} |