summaryrefslogtreecommitdiff
path: root/test/ProfileTestMultiDex
diff options
context:
space:
mode:
authorAlex Light <allight@google.com>2015-10-09 15:59:48 -0700
committerAlex Light <allight@google.com>2015-11-10 17:20:41 -0800
commit9139e008abe30b7beaf4afd6533228a1dd9b202c (patch)
tree506be89287507bd777bd132627ad963729434969 /test/ProfileTestMultiDex
parentd7c76bd7e867b151ac81ef41810614c7b4cc898e (diff)
Correct exception behavior for default methods
Default methods are defined to throw an IncompatibleClassChangeError (ICCE) when they are called and there is no "best" implementation. Previously we would simply throw an ICCE during class loading as soon as we noticed that this would happen if called. This makes us wait until we actually attempt to execute the method. Furthermore, this allows us to use other, non-conflicting, methods on the object as normal. Furthermore, this makes us correctly throw AbstractMethodErrors in cases where all default implementations of a method are overridden by abstract declarations. Adds 3 tests for this new behavior. Bug: 24618811 Change-Id: Id891958a81f9b3862b2ce5919636aabef7d3422e
Diffstat (limited to 'test/ProfileTestMultiDex')
0 files changed, 0 insertions, 0 deletions