Closed
Bug 750488
Opened 13 years ago
Closed 10 years ago
mobile/android/base/Makefiile.in - dep induced compile failures
Categories
(Firefox Build System :: General, defect)
Firefox Build System
General
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();
^
Reporter | ||
Comment 1•13 years ago
|
||
Try job that logged the failures.
https://tbpl.mozilla.org/?tree=Try&rev=29938328daf1
Comment 2•10 years ago
|
||
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: 10 years ago
Resolution: --- → FIXED
Updated•7 years ago
|
Product: Core → Firefox Build System
You need to log in
before you can comment on or make changes to this bug.
Description
•