OSDN Git Service

Revert the fix for incorrect package-private overriding.
authorElliott Hughes <enh@google.com>
Mon, 15 Oct 2012 21:29:23 +0000 (14:29 -0700)
committerElliott Hughes <enh@google.com>
Mon, 15 Oct 2012 21:29:23 +0000 (14:29 -0700)
commit9735865121118f255c4c15183b236f9f30e795f1
tree43399c6b9f6d920d11e006f19b53529c1631290b
parented94ff793680873d2c942641ccda9ea81c95b5ad
Revert the fix for incorrect package-private overriding.

This fixes FIFA 2012, the download portion of which relies on the
old bug, without breaking instrumentation tests. The problem is that
dexopt tries to quicken method calls, and gets confused by this case
where the apparent static method resolution differs from the actual
one at runtime, depending on the targetSdkVersion of the specific app.
dexopt can't make an ahead-of-time decision in a world where the rules
might change at runtime.

Bug: 7301030
Bug: 7343420
Change-Id: Iaa15611f099546b7e54279cfd6abc9b4cdcb9812
vm/oo/Class.cpp