Bug 90600

Summary: [model] CreateElementInCUOperation.apply: should use project options for rewriter
Product: [Eclipse Project] JDT Reporter: Martin Aeschlimann <martinae>
Component: CoreAssignee: Olivier Thomann <Olivier_Thomann>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: frederic_fusier, jerome_lanneluc
Version: 3.1   
Target Milestone: 3.3 M3   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
Proposed fix none

Description Martin Aeschlimann CLA 2005-04-07 09:32:11 EDT
20050407
When executing the rewriter, (rewriter.rewriteAST(document, null))
CreateElementInCUOperation.apply should pass in the current projects options
instead of null
Comment 1 Olivier Thomann CLA 2005-06-07 10:50:06 EDT
Still in latest.
Comment 2 Olivier Thomann CLA 2006-10-06 14:47:53 EDT
Created attachment 51569 [details]
Proposed fix
Comment 3 Olivier Thomann CLA 2006-10-06 14:48:44 EDT
Frédéric or Jérôme,

Please double-check the patch.
Comment 4 Jerome Lanneluc CLA 2006-10-09 05:24:59 EDT
Patch looks good.
Comment 5 Frederic Fusier CLA 2006-10-11 06:26:46 EDT
Sounds OK for me too.
Comment 6 Olivier Thomann CLA 2006-10-11 11:01:59 EDT
Released for 3.3M3.
No regression test.
Comment 7 David Audel CLA 2006-10-30 03:32:32 EST
Verified for 3.3 M3 using build I20061030-0010