OSDN Git Service

ART: Do not check interface being subclass for member access
authorAndreas Gampe <agampe@google.com>
Sat, 9 Aug 2014 02:55:37 +0000 (19:55 -0700)
committerAndreas Gampe <agampe@google.com>
Sat, 9 Aug 2014 04:38:22 +0000 (21:38 -0700)
commit13f8a168d484d747e07154a9357bd72d5b04c379
treecf579dd79e1d0c3186fd4d40e2e0f3870a553fa8
parent2c798f45128d5253a6206a6a17a7c5db2e4e3014
ART: Do not check interface being subclass for member access

When checking access to a protected member, do not try to see
whether an interface is a subclass of the declaring class.

Bug: 16904661

(cherry picked from commit 81db6a7c20aa008c7edbb7377b4bc3a9afe91bb7)

Change-Id: I3e1fa4ce9753e0a96633fff0fba807d72bc0b19d
runtime/mirror/class.h
test/026-access/expected.txt
test/026-access/src/Iface.java [new file with mode: 0644]
test/026-access/src/Iface2.java [new file with mode: 0644]
test/026-access/src/Main.java
test/026-access/src/Unrelated.java [new file with mode: 0644]