History log of /art/test/040-miranda/src/Main.java
Revision Date Author Comments
1d0611c7e6721bd9115d652da74d2584ff3f192b 01-Nov-2014 Andreas Gampe <agampe@google.com> ART: Add miranda checking

Add a test for resolution of miranda methods across dex-files. See
CL 112688 and b/18193682 for the code change.

Fix the test script to support no-verify again.

Weaken the dex cache check to a check whether the found method is a
miranda method. This will penalize miranda methods, as they will
always have to be resolved by name, but does not require the multi-step
load of the method's dex cache.

Bug: 18193682

(cherry picked from commit 2b0fa5ba4a8f07ee243452003bf93418d30e9448)

Change-Id: I1dae2a9ec0985dc8625acd7dd5686a5d3cdc8888
7170092b783c35cf48aaeafe903acad4eee81efc 21-Nov-2013 Jeff Hao <jeffhao@google.com> Search for miranda methods in virtual methods instead of interface.

Also added tests that get miranda methods via reflection and jni.
Miranda methods can't be found via reflection, and have the interface
class as their declaring class when found via jni.

Bug: 11736932
(cherry picked from 201803fb1acd15b9daae51d816e1b08aededdc41)

Change-Id: If6700303698967b7fd2c0152216461c447cbf2f9
201803fb1acd15b9daae51d816e1b08aededdc41 21-Nov-2013 Jeff Hao <jeffhao@google.com> Search for miranda methods in virtual methods instead of interface.

Also added tests that get miranda methods via reflection and jni.
Miranda methods can't be found via reflection, and have the interface
class as their declaring class when found via jni.

Bug: 11736932
Change-Id: I92b4fdf31be64269898ed2686a28dfb6008b213a
2faa5f1271587cda765f26bcf2951065300a01ff 30-Jan-2012 Elliott Hughes <enh@google.com> Fix copyright headers.

Change-Id: I5b7bc76a370238d810d78522bd5531600746700f
5d1ac920fdaef5d4ec8f66bb734488cd9660b024 30-Sep-2011 jeffhao <jeffhao@google.com> Adding old unit tests to test suite.

These tests are copied straight over. They'll still run, but they're
using the old system.

Change-Id: If494519e52ddf858a9febfc55bdae830468cb3c8