If you think a bug might affect users in the 57 release, please set the correct tracking and status flags for Release Management.

Build Error Warning: found raw type: Iterator @ ProfileMigrator.java:5

RESOLVED FIXED in Firefox 15

Status

()

Firefox for Android
General
RESOLVED FIXED
6 years ago
6 years ago

People

(Reporter: aaronmt, Assigned: cwiiis)

Tracking

Trunk
Firefox 15
ARM
Android
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Reporter)

Description

6 years ago
/mobile/android/base/ProfileMigrator.java:541: 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
1 error
1 warning
(Assignee)

Comment 1

6 years ago
Created attachment 619549 [details] [diff] [review]
Fix warning

This fixes the warning and allows building with Java 7 for me.
Assignee: nobody → chrislord.net
Status: NEW → ASSIGNED
Attachment #619549 - Flags: review?(bugmail.mozilla)
Attachment #619549 - Flags: review?(bugmail.mozilla) → review+
(Assignee)

Comment 2

6 years ago
Pushed to inbound: http://hg.mozilla.org/integration/mozilla-inbound/rev/609aeba1b2fe
Target Milestone: --- → Firefox 15
https://hg.mozilla.org/mozilla-central/rev/609aeba1b2fe
Status: ASSIGNED → RESOLVED
Last Resolved: 6 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.