| Summary: | Change global compiler settings for project builds to enforce NPE analysis introduced with ecj in 3.8M4 | ||
|---|---|---|---|
| Product: | [Eclipse Project] Platform | Reporter: | Andrey Loskutov <loskutov> |
| Component: | Releng | Assignee: | Platform-Releng-Inbox <platform-releng-inbox> |
| Status: | RESOLVED WONTFIX | QA Contact: | |
| Severity: | enhancement | ||
| Priority: | P3 | CC: | deepakazad, kim.moir |
| Version: | 4.2 | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | All | ||
| Whiteboard: | |||
|
Description
Andrey Loskutov
(In reply to comment #0) > Not sure how the current releng build specifies the java compiler settings, but > it would be very valuable to enable the "NPE" warnings introduced with bug > 186342 for *all* projects contributing to the 3.8 release. We (JDT team) set the default of a compiler option to warning (or error as deemed appropriate), when we are satisfied that the option will not produce many false positives. The builder for Eclipse SDK then automatically uses these default options. Thanks Deepak for the comment. Closing. |