Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 326116

Summary: [preferences] Add UI for new compiler warning option org.eclipse.jdt.core.compiler.problem.suppressNullInfoFromAsserts
Product: [Eclipse Project] JDT Reporter: Ayushman Jain <amj87.iitr>
Component: UIAssignee: Dani Megert <daniel_megert>
Status: RESOLVED FIXED QA Contact:
Severity: enhancement    
Priority: P3 CC: daniel_megert, deepakazad
Version: 3.7   
Target Milestone: 3.7 M3   
Hardware: All   
OS: All   
Whiteboard:
Bug Depends on: 325342    
Bug Blocks:    

Description Ayushman Jain CLA 2010-09-24 02:29:49 EDT
See bug 325342 which adds a new compiler option (enabled/disabled - default disabled) to suppress null warnings arising because of assert statements. 

The new option has to be added in Java>Compiler>Errors/warnings, preferably in a new option group with these 3 options together - 
Null pointer access
Potential Null Pointer access
Redundant null check
Comment 1 Dani Megert CLA 2010-09-30 10:33:02 EDT
Fixed in HEAD.
Available in builds >= N20100930-2000.