Closed Bug 750488 Opened 11 years ago Closed 8 years ago

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

Categories

(Firefox Build System :: General, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: joey, Unassigned)

References

Details

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();
                           ^
Depends on: 750675
Depends on: 750680
Depends on: 750682
Depends on: 750685
Depends on: 750687
Depends on: 750688
Depends on: 750690
Depends on: 750692
Depends on: 750693
Depends on: 750696
Depends on: 750697
Depends on: 750699
Depends on: 750700
Depends on: 750701
Depends on: 750703
Depends on: 750705
Depends on: 750706
Depends on: 750708
Depends on: 750709
Depends on: 750710
Depends on: 750711
Depends on: 750847
Try job that logged the failures.
https://tbpl.mozilla.org/?tree=Try&rev=29938328daf1
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
Closed: 8 years ago
Resolution: --- → FIXED
Product: Core → Firefox Build System
You need to log in before you can comment on or make changes to this bug.