Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 8415eae5 authored by Colin Cross's avatar Colin Cross
Browse files

Work around javac method reference bug

javac fails to compile this method reference:
packages/apps/DocumentsUI/src/com/android/documentsui/BaseActivity.java:308: error: incompatible types: invalid method reference
                    mInjector.actions::openContainerDocument)
                    ^
    openContainerDocument(DocumentInfo) in ActionHandler is defined in an inaccessible class or interface

This is a symptom of https://bugs.openjdk.java.net/browse/JDK-8073842
fixed in JDK9.  Use the equivalent lambda instead for now.

Test: m -j ANDROID_FORCE_JACK_ENABLED=disabled
Change-Id: Id68f48d3896fc239a8e77ffad209547184a8290e
parent 9c98b8b8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment