OSDN Git Service

Fix minor problems with interface verification and default methods.
authorAlex Light <allight@google.com>
Tue, 27 Oct 2015 21:06:34 +0000 (14:06 -0700)
committerAlex Light <allight@google.com>
Thu, 29 Oct 2015 00:09:06 +0000 (17:09 -0700)
commit0db36b3ec3feb34adabf5d211612226a66d8b063
treee5b064895cc093991f6bb6e3a1d97ac87b064903
parent3dca4c04170bb4c7b26609e55f3f4966d46b681a
Fix minor problems with interface verification and default methods.

Previously we would fail verification on some <clinit> methods when
default methods are enabled and they are not marked as public.

Previously we would also give verifier soft failures when using
interface statics.

Bug: 24618811

Change-Id: I735740b4058bfd71e67bc3fb99e6a8c0c4696b01
runtime/verifier/method_verifier.cc
test/962-iface-static/smali/Displayer.smali
test/962-iface-static/smali/iface.smali
test/964-default-iface-init-generated/util-src/generate_smali.py