Closed Bug 1498721 Opened 6 years ago Closed 5 years ago

Implement default methods for all delegate interfaces

Categories

(GeckoView :: General, enhancement, P3)

59 Branch
enhancement

Tracking

(firefox67 fixed)

RESOLVED FIXED
mozilla67
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.
Product: Firefox for Android → GeckoView
Version: Firefox 59 → 59 Branch
See Also: → 1509146

This is due to an incompatability somewhere between JaCoCo and
default interface methods.

Depends on D23016

Depends on: 1534372

(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?gbrown

This 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).

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: nobody → snorp
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla67
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: