Bug 10047

Summary: JDTCompilerAdapter ignores -nowarn and deprecation off.
Product: [Eclipse Project] JDT Reporter: John Landers <jcl>
Component: CoreAssignee: Jerome Lanneluc <jerome_lanneluc>
Status: VERIFIED WORKSFORME QA Contact:
Severity: normal    
Priority: P3 CC: rodrigo
Version: 2.0   
Target Milestone: 2.0 F2   
Hardware: PC   
OS: Windows 2000   
Whiteboard:

Description John Landers CLA 2002-02-21 07:32:48 EST
In the source file JDTCompilerAdapter after checking all the options
from ant it then specifically adds in all the warn options.
"-warn:contructorName,packageDefaultMethod,maskedCatchBlocks,deprecation".

If a nowarn option is passed in from ant javac element these should
not be turned on.
-nowarn in the Eclipse compiler states it is equivalent to -warn:non.

This would make it possible to build with ant without warnings. 
I know about deprecation already in our source code.

thanks,

jcl.
Comment 1 DJ Houghton CLA 2002-02-22 12:17:57 EST
Moving to Platform/Ant for investigation.
Comment 2 DJ Houghton CLA 2002-02-22 12:26:10 EST
*** Bug 10024 has been marked as a duplicate of this bug. ***
Comment 3 Rodrigo Peretti CLA 2002-05-17 11:21:13 EDT
PDE Build does not provide a compiler adapter anymore. The compiler adapter 
provided by JDT Core (org.eclipse.jdt.core.JDTCompilerAdapter) fixes these 
problems. Moving to JDT Core for closure.
Comment 4 Philipe Mulet CLA 2002-05-21 11:14:07 EDT
Closing
Comment 5 Jerome Lanneluc CLA 2002-06-03 07:11:13 EDT
Verified