OSDN Git Service

Change IllegalAccess/IncompatibleClassChange order.
authorNicolas Geoffray <ngeoffray@google.com>
Fri, 2 Oct 2015 16:14:53 +0000 (17:14 +0100)
committerNicolas Geoffray <ngeoffray@google.com>
Fri, 2 Oct 2015 16:14:53 +0000 (17:14 +0100)
commit470d54fcd6be1aba56a4dc21f8b437168b779867
tree623f0abf83d943cafd882b053ac7658c948b7b33
parentcc245eab2148547f9df37ddc5f767656dc033b81
Change IllegalAccess/IncompatibleClassChange order.

This is to have the same order as ClassLinker::ResolveMethod. In
a JIT environment, hitting the dex cache would not make it to the
expected IllegalAccessError and we would throw the wrong exception.

Change-Id: Ifc70f1a93260a24e952fa7a659be1be5bdc666de
runtime/entrypoints/entrypoint_utils-inl.h