Bug 310330

Summary: Add multiple encoding support for the batch compiler
Product: [Eclipse Project] JDT Reporter: Olivier Thomann <Olivier_Thomann>
Component: CoreAssignee: Olivier Thomann <Olivier_Thomann>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: aniefer, darin.eclipse, markus.kell.r
Version: 3.6   
Target Milestone: 3.6 M7   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Bug Depends on:    
Bug Blocks: 260997    
Attachments:
Description Flags
Proposed fix
none
Proposed fix + regression tests none

Description Olivier Thomann CLA 2010-04-23 15:12:07 EDT
In order to fix bug 260997, the batch compiler should be able to take multiple encoding on the command line. The last one wins.
Inside the ant task the encoding specified in the javac ant task itself should win over the ones specified inside compilerarg arguments.
Comment 1 Olivier Thomann CLA 2010-04-23 15:13:19 EDT
I am working on a fix.
Comment 2 Olivier Thomann CLA 2010-04-25 14:24:33 EDT
Created attachment 166022 [details]
Proposed fix
Comment 3 Olivier Thomann CLA 2010-04-25 18:55:48 EDT
Created attachment 166033 [details]
Proposed fix + regression tests
Comment 4 Olivier Thomann CLA 2010-04-25 18:57:13 EDT
Released for 3.6M7.
Regression tests added in:
org.eclipse.jdt.core.tests.compiler.regression.BatchCompilerTest#test305
org.eclipse.jdt.core.tests.compiler.regression.BatchCompilerTest#test306
Comment 5 Olivier Thomann CLA 2010-04-25 18:58:36 EDT
*** Bug 260997 has been marked as a duplicate of this bug. ***
Comment 6 Frederic Fusier CLA 2010-04-27 08:18:21 EDT
Verified for 3.6M7 using I20100425-2000.