summaryrefslogtreecommitdiff
path: root/test/ProfileTestMultiDex/Main.java
diff options
context:
space:
mode:
authorAlex Light <allight@google.com>2017-04-03 15:39:55 -0700
committerAlex Light <allight@google.com>2017-04-04 16:42:32 -0700
commitdbbbd8d8088cf590e4245368deb15fcdafc63b2f (patch)
tree727821bbc73ebed7e112b693a2544453cee9d6c8 /test/ProfileTestMultiDex/Main.java
parentde8de1d34633775053388097a70fd7534abdbbd5 (diff)
Ensure invoking obsolete methods throws errors.
This sets the entrypoint for obsolete methods to a special stub that will ensure that calling them results in an Error being thrown. Previously we were allowing obsolete methods to be run if they could reach the appropriate places in the runtime. Getting into the state where this is possible is extremely difficult since one can only get an jmethodID to an obsolete method by snatching it off the stack (or by inspecting internal runtime data). From there normally invoking it will do lookup on the receiver which will get you the original version. Bug: 36867251 Bug: 31455788 Test: ./test.py --host -j40 Test: (with aosp_marlin-userdebug device) ./test.py --target -j4 Change-Id: I2ca0503966a4e3de18dd89cb7ff224eba1459b49 (cherry picked from commit db01a091aefbd78b56777f4c2e8c5e3f2d8c2712)
Diffstat (limited to 'test/ProfileTestMultiDex/Main.java')
0 files changed, 0 insertions, 0 deletions