commit | 8129ba3c95878db996f1578057c1e013daa6768a | [log] [tgz] |
---|---|---|
author | Vladimir Marko <vmarko@google.com> | Tue Mar 23 14:57:03 2021 +0000 |
committer | Vladimir Marko <vmarko@google.com> | Wed Mar 24 09:17:10 2021 +0000 |
tree | c50167bcec4c10c1cab99992005f1f6fb229f213 | |
parent | 779761281e44bd209d57b8fc861f8aef88d57a73 [diff] |
Add a test for wrong constructor resolution. The constructor resolution in ART currently allows calling the superclass contructor directly. This is against the JLS but we do not try to fix it in this CL, just add a test that exposes the behavior. Test: New test in 162-method-resolution Test: testrunner.py --host -t 162-method-resolution Test: testrunner.py --jvm -t 162-method-resolution Bug: 183485797 Change-Id: I199584a09645b252e63ade903c0c43fef3e91819