Implement default methods for all delegate interfaces
Categories
(GeckoView :: General, enhancement, P3)
Tracking
(firefox67 fixed)
Tracking | Status | |
---|---|---|
firefox67 | --- | fixed |
People
(Reporter: snorp, Assigned: snorp)
References
(Blocks 1 open bug)
Details
Attachments
(2 files)
Now that we're using Java 1.8, we should be able to provide default implementations for all delegate interface methods. This will make it a lot more convenient for app that only want to override a subset of the methods. It will also help our source API compatibility situation, since app code will still build if new methods are added to a delegate.
Updated•6 years ago
|
Updated•6 years ago
|
Updated•5 years ago
|
Updated•5 years ago
|
Assignee | ||
Comment 1•5 years ago
|
||
Assignee | ||
Comment 2•5 years ago
|
||
This is due to an incompatability somewhere between JaCoCo and
default interface methods.
Depends on D23016
Comment 3•5 years ago
|
||
(In reply to James Willcox (:snorp) (jwillcox@mozilla.com) (he/him) from comment #2)
Created attachment 9050069 [details]
Bug 1498721 - Disable Java code coverage on Android r?gbrownThis is due to an incompatability somewhere between JaCoCo and
default interface methods.Depends on D23016
It's a bug somewhere in the Android SDK rather than in JaCoCo.
I filed https://issuetracker.google.com/issues/128277032 for this (https://issuetracker.google.com/issues/109759777 was the same, but was closed right away with no investigation).
Assignee | ||
Comment 5•5 years ago
|
||
The reporter for the JaCoCo bug (https://github.com/jacoco/jacoco/issues/690) reported that it worked with minSdkVersion 24
, but that didn't seem to help for me.
Assignee | ||
Updated•5 years ago
|
Comment 6•5 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/3504d6975a6d
https://hg.mozilla.org/mozilla-central/rev/01aa96181b7b
Comment 7•5 years ago
|
||
Description
•