diff options
author | Andreas Gampe <agampe@google.com> | 2014-08-09 04:41:19 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2014-08-09 00:45:41 +0000 |
commit | 7493a5be0b05a27de80974a8a0bbaff07bf9909f (patch) | |
tree | 1fa0adf5a27a69417b4a431ccbd8fbe68ed43aed /runtime | |
parent | f0d54278d02a69e659432fa1cf2e8a8b388565da (diff) | |
parent | 13f8a168d484d747e07154a9357bd72d5b04c379 (diff) | |
download | art-7493a5be0b05a27de80974a8a0bbaff07bf9909f.zip art-7493a5be0b05a27de80974a8a0bbaff07bf9909f.tar.gz art-7493a5be0b05a27de80974a8a0bbaff07bf9909f.tar.bz2 |
Merge "ART: Do not check interface being subclass for member access"
Diffstat (limited to 'runtime')
-rw-r--r-- | runtime/mirror/class.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/mirror/class.h b/runtime/mirror/class.h index 519685a..2a3f104 100644 --- a/runtime/mirror/class.h +++ b/runtime/mirror/class.h @@ -555,7 +555,7 @@ class MANAGED Class FINAL : public Object { } // Check for protected access from a sub-class, which may or may not be in the same package. if (member_flags & kAccProtected) { - if (this->IsSubClass(access_to)) { + if (!this->IsInterface() && this->IsSubClass(access_to)) { return true; } } |