Closed Bug 721888 Opened 14 years ago Closed 14 years ago

Fennec native build doesn't flag java warnings as errors

Categories

(Firefox for Android Graveyard :: General, defect)

All
Android
defect
Not set
normal

Tracking

(firefox11 fixed, firefox12 fixed)

RESOLVED FIXED
Firefox 12
Tracking Status
firefox11 --- fixed
firefox12 --- fixed

People

(Reporter: kats, Assigned: kats)

Details

Attachments

(2 files, 2 obsolete files)

Now that the websms thing is disabled we have a window of opportunity to turn on warnings-as-errors for java code to prevent introducing more warnings.
Attachment #592285 - Flags: review?(mark.finkle)
Attachment #592287 - Flags: review?(mark.finkle)
I have a try push running to build on all platforms to make sure it doesn't break anything: https://tbpl.mozilla.org/?tree=Try&rev=2067d01d149a
Attachment #592285 - Flags: review?(mark.finkle) → review+
Comment on attachment 592287 [details] [diff] [review] (2/2) Add -Werror to javac command-line I'd rather you put -Werror in JAVAC_FLAGS
Attached patch (2/2) Add -Werror to JAVAC_FLAGS (obsolete) — Splinter Review
Attachment #592287 - Attachment is obsolete: true
Attachment #592287 - Flags: review?(mark.finkle)
Attachment #592335 - Flags: review?(blassey.bugs)
cpeterson pointed out a better place to modify JAVAC_FLAGS. sorry for the churn/bugmail.
Attachment #592335 - Attachment is obsolete: true
Attachment #592335 - Flags: review?(blassey.bugs)
Attachment #592343 - Flags: review?(blassey.bugs)
Attachment #592343 - Flags: review?(blassey.bugs) → review+
Kats, please request approval for aurora
Comment on attachment 592285 [details] [diff] [review] (1/2) Fix last two java warnings [Approval Request Comment] Regression caused by (bug #): 603008 User impact if declined: none; compiler warning fix only Testing completed (on m-c, etc.): on m-c Risk to taking this patch (and alternatives if risky): possible rebase errors on future patches that affect this code.
Attachment #592285 - Flags: approval-mozilla-aurora?
Attachment #592343 - Flags: approval-mozilla-aurora?
Attachment #592285 - Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
Attachment #592343 - Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
Comment on attachment 592285 [details] [diff] [review] (1/2) Fix last two java warnings [Triage Comment] approved for beta as well
Attachment #592285 - Flags: approval-mozilla-beta+
Comment on attachment 592343 [details] [diff] [review] (2/2) Add -Werror to JAVAC_FLAGS [Triage Comment] now approved for beta
Attachment #592343 - Flags: approval-mozilla-aurora+ → approval-mozilla-beta+
tracking-fennec: ? → ---
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: