Bug 58582 - ICompilationUnit.reconcile should allow client to specify AST API level
Summary: ICompilationUnit.reconcile should allow client to specify AST API level
Status: VERIFIED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 2.1   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: 3.0 M9   Edit
Assignee: JDT-Core-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
: 58495 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-04-14 19:45 EDT by Jim des Rivieres CLA
Modified: 2004-05-19 06:58 EDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jim des Rivieres CLA 2004-04-14 19:45:02 EDT
ICompilationUnit.reconcile(boolean createAST, boolean forceProblemDetection, 
WorkingCopyOwner owner, IProgressMonitor monitor) returns an 
ast.CompilationUnit.

Clients need to be able to specify the API level of the AST returned by this 
method.
Comment 1 Jim des Rivieres CLA 2004-04-14 22:21:44 EDT
ICompilationUnit
- deprecate old method (was added in 3.0; will delete before M9)
public CompilationUnit reconcile(boolean createAST, boolean 
forceProblemDetection, WorkingCopyOwner owner, IProgressMonitor monitor);

- add replacement method
CompilationUnit reconcile(int astLevel, boolean forceProblemDetection, 
WorkingCopyOwner owner, IProgressMonitor monitor)

Changes released to HEAD (along with changes to JDT core tests).
Comment 2 Olivier Thomann CLA 2004-04-14 22:48:47 EDT
*** Bug 58495 has been marked as a duplicate of this bug. ***
Comment 3 Olivier Thomann CLA 2004-04-23 11:54:21 EDT
Isn't this fixed?
Comment 4 Jim des Rivieres CLA 2004-04-23 12:47:55 EDT
Yes. Fixed.
Comment 5 Frederic Fusier CLA 2004-05-19 06:58:39 EDT
Verified for 3.0 M9 with build I200405190010.
(deprecated old method has been removed)