Bug 135217

Summary: Compiler class constructor change in 3.2
Product: [Eclipse Project] JDT Reporter: David Audel <david_audel>
Component: CoreAssignee: David Audel <david_audel>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: philippe_mulet
Version: 3.2   
Target Milestone: 3.2 RC1   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
Proposed fix none

Description David Audel CLA 2006-04-06 04:13:07 EDT
Some eclipse clients are using the org.eclipse.jdt.internal.compiler.Compiler class and noticed that its constructor has changed from 3.2M4 to 3.2M5 (added the statementsRecovery boolean parameter).

Even if it is an internal class it would be better to keep this 'internal' API compatible with older version (3.2M4).
Comment 1 David Audel CLA 2006-04-06 11:50:13 EDT
Created attachment 37900 [details]
Proposed fix
Comment 2 Philipe Mulet CLA 2006-04-06 13:48:47 EDT
+1 for 3.2RC1
Comment 3 David Audel CLA 2006-04-07 05:10:46 EDT
Fix released.

I marked 3.2M4 constructors as deprecated.
I changed other constructors to use CompilerOptions instead of the Map of settings and boolean parameters.
Comment 4 Maxime Daniel CLA 2006-04-13 12:33:09 EDT
Verified for 3.2 RC1 using Build id: I20060413-0010.
Old constructors have been reintroduced as deprecated.