Closed Bug 822067 Opened 12 years ago Closed 12 years ago

Build fails due to raw types in BrowserProvider.java

Categories

(Firefox for Android Graveyard :: Data Providers, defect)

ARM
Android
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
Firefox 20

People

(Reporter: nrc, Assigned: rnewman)

Details

Attachments

(1 file)

I get this build error when trying to compile:

JAR gecko-browser.jar
db/BrowserProvider.java:1037: warning: [rawtypes] found raw type: Class
            Class stringClass = R.string.class;
            ^
  missing type arguments for generic class Class<T>
  where T is a type-variable:
    T extends Object declared in class Class
error: warnings found and -Werror specified
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
1 error
1 warning
make[6]: *** [jars/gecko-browser.jar] Error 1
make[5]: *** [libs] Error 2
make[4]: *** [libs_tier_app] Error 2
make[3]: *** [tier_app] Error 2
make[2]: *** [default] Error 2
make[1]: *** [realbuild] Error 2
make: *** [build] Error 2
Component: General → Data Providers
Version: Firefox 19 → Trunk
Matches other such uses in the same file.
Assignee: nobody → rnewman
Status: NEW → ASSIGNED
Attachment #692675 - Flags: review?(lucasr.at.mozilla)
Attachment #692675 - Flags: review?(lucasr.at.mozilla) → review+
https://hg.mozilla.org/mozilla-central/rev/e7c7f7e0de99
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: