Commit 6f391632 authored by Orion Hodson's avatar Orion Hodson
Browse files

dx: Revise interface method handling

Adds a new flag --allow-all-interface-method-invokes to allow default
interface methods to be invoked at any API level and static interface
methods to be invoked at API level >= 21. This is primarily present
for app compat and should be used with caution.

Adds warning on {default,static} interface method definition below API
level 24.

Extends error reporting from the simulator to include details of the
method causing the issue.

Bug: 35261456
Test: dalvik/dx/tests/run-test 143
Test: dalvik/dx/tests/run-all-tests
Test: m -j32
Change-Id: I8ce5c8c31e84e4734d6ca3d215030340d93f2964
parent a5df8aea
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment