Closed Bug 1571492 Opened 5 years ago Closed 5 years ago

apilint api_changes error offer no help

Categories

(GeckoView :: General, defect, P3)

Unspecified
All
defect

Tracking

(firefox69 wontfix, firefox70 fixed)

RESOLVED FIXED
mozilla70
Tracking Status
firefox69 --- wontfix
firefox70 --- fixed

People

(Reporter: agi, Assigned: agi)

References

(Regression)

Details

(Keywords: regression)

Attachments

(1 file)

An api error from apilint is not very helpful:

/Users/asferro/workspace/mozilla-central/mobile/android/geckoview/src/main/java/org/mozilla/geckoview/RuntimeSettings.java
  37:28  error  Unexpected api change  api_changes (android-api-lint)

cfr the old error:

> Task :geckoview:apiDiffWithGeckoBinariesDebug
--- Existing API
+++ Local API
@@ -988,11 +988,11 @@
     ctor protected RuntimeSettings(@Nullable RuntimeSettings);
     method @AnyThread public void readFromParcel(@NonNull Parcel);
     method @AnyThread protected void updatePrefs(@NonNull RuntimeSettings);
   }
 
-  public abstract static class RuntimeSettings.Builder<Settings extends org.mozilla.geckoview.RuntimeSettings> {
+  public abstract static class RuntimeSettings.Builder<Settings extends RuntimeSettings> {
     ctor public Builder();
     method @AnyThread @NonNull public Settings build();
     method @AnyThread @NonNull protected Settings getSettings();
     method @AnyThread @NonNull protected abstract Settings newSettings(@Nullable Settings);
   }

> Task :geckoview:apiLintHelpWithGeckoBinariesDebug

The API has been modified. If the changes look correct, please run

$ ./gradlew apiUpdateFileWithGeckoBinariesDebug

to update the API file.
Priority: -- → P3
Pushed by asferro@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/90128608235b
Add apiLint command in api_changes lint errors. r=nalexander
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla70

firefox69=wontfix because we don't need to uplift aiplint fixes to Beta.

Assignee: nobody → agi
Has Regression Range: --- → yes
Keywords: regression
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: