mobile/android/base/Makefiile.in - dep induced compile failures

RESOLVED FIXED

Status

()

Core
Build Config
RESOLVED FIXED
6 years ago
4 years ago

People

(Reporter: joey, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

6 years ago
Building under mobile/android/base/Makefile.in
==============================================

Compiler warnings tickled by makefile dep changes under android/base to remove force and add dependencies.

/local/mozilla/bugs/748470/mobile/android/base/ProfileMigrator.java:544: warning: [rawtypes] found raw type: Iterator
                Iterator cacheFiles = Arrays.asList(files).iterator();
                ^
  missing type arguments for generic class Iterator<E>
  where E is a type-variable:
    E extends Object declared in interface Iterator
error: warnings found and -Werror specified
/local/mozilla/bugs/748470/mobile/android/base/httpclientandroidlib/HttpEntity.java:196: warning: [dep-ann] deprecated item is not annotated with @Deprecated
    void consumeContent() throws IOException;
         ^
/local/mozilla/bugs/748470/mobile/android/base/httpclientandroidlib/HeaderIterator.java:37: warning: [rawtypes] found raw type: Iterator
public interface HeaderIterator extends Iterator {
                                        ^
  missing type arguments for generic class Iterator<E>
  where E is a type-variable:
    E extends Object declared in interface Iterator
/local/mozilla/bugs/748470/mobile/android/base/httpclientandroidlib/params/HttpParams.java:79: warning: [dep-ann] deprecated item is not annotated with @Deprecated
    HttpParams copy();
               ^
/local/mozilla/bugs/748470/mobile/android/base/json-simple/JSONObject.java:18: warning: [rawtypes] found raw type: HashMap
public class JSONObject extends HashMap implements Map, JSONAware, JSONStreamAware{
                                ^
  missing type arguments for generic class HashMap<K,V>
  where K,V are type-variables:
    K extends Object declared in class HashMap
    V extends Object declared in class HashMap
/local/mozilla/bugs/748470/mobile/android/base/json-simple/JSONObject.java:18: warning: [rawtypes] found raw type: Map
public class JSONObject extends HashMap implements Map, JSONAware, JSONStreamAware{
                                                   ^
  missing type arguments for generic class Map<K,V>
  where K,V are type-variables:
    K extends Object declared in interface Map
    V extends Object declared in interface Map
/local/mozilla/bugs/748470/mobile/android/base/json-simple/JSONObject.java:30: warning: [rawtypes] found raw type: Map
        public static void writeJSONString(Map map, Writer out) throws IOException {
                                           ^
  missing type arguments for generic class Map<K,V>
  where K,V are type-variables:
    K extends Object declared in interface Map
    V extends Object declared in interface Map
/local/mozilla/bugs/748470/mobile/android/base/json-simple/JSONObject.java:37: warning: [rawtypes] found raw type: Iterator
                Iterator iter=map.entrySet().iterator();
                ^
  missing type arguments for generic class Iterator<E>
  where E is a type-variable:
    E extends Object declared in interface Iterator
/local/mozilla/bugs/748470/mobile/android/base/json-simple/JSONObject.java:45: warning: [rawtypes] found raw type: Entry
                        Map.Entry entry=(Map.Entry)iter.next();
                           ^
(Reporter)

Updated

6 years ago
Depends on: 750675
(Reporter)

Updated

6 years ago
Depends on: 750680
(Reporter)

Updated

6 years ago
Depends on: 750682
(Reporter)

Updated

6 years ago
Depends on: 750685
(Reporter)

Updated

6 years ago
Depends on: 750687
(Reporter)

Updated

6 years ago
Depends on: 750688
(Reporter)

Updated

6 years ago
Depends on: 750690
(Reporter)

Updated

6 years ago
Depends on: 750692
(Reporter)

Updated

6 years ago
Depends on: 750693
(Reporter)

Updated

6 years ago
Depends on: 750696
(Reporter)

Updated

6 years ago
Depends on: 750697
(Reporter)

Updated

6 years ago
Depends on: 750699
(Reporter)

Updated

6 years ago
Depends on: 750700
(Reporter)

Updated

6 years ago
Depends on: 750701
(Reporter)

Updated

6 years ago
Depends on: 750703
(Reporter)

Updated

6 years ago
Depends on: 750705
(Reporter)

Updated

6 years ago
Depends on: 750706
(Reporter)

Updated

6 years ago
Depends on: 750708
(Reporter)

Updated

6 years ago
Depends on: 750709
(Reporter)

Updated

6 years ago
Depends on: 750710
(Reporter)

Updated

6 years ago
Depends on: 750711
(Reporter)

Updated

6 years ago
Depends on: 750847
(Reporter)

Comment 1

6 years ago
Try job that logged the failures.
https://tbpl.mozilla.org/?tree=Try&rev=29938328daf1
(Reporter)

Updated

6 years ago
No longer depends on: 750693
The moz.build at mobile/android/base/moz.build strategically turns off certain warnings for third-party code, so this problem hasn't existed for some time.
Naturally, we run with very nearly all warnings enabled for our own code.
Status: NEW → RESOLVED
Last Resolved: 4 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.