Bug 125641 - Problems enabling AST with recovery
Summary: Problems enabling AST with recovery
Status: VERIFIED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.2   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.2 M5   Edit
Assignee: David Audel CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-01-29 04:49 EST by Martin Aeschlimann CLA
Modified: 2006-02-15 10:22 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Aeschlimann CLA 2006-01-29 04:49:59 EST
20060129

To get the AST with recovery enabled, I had to change the following lines:
Compiler.java, line 274: change to 			this.options.performStatementsRecovery = statementsRecovery;
CompilerOptions.java, line 730, comment out the test for OPTION_StatementsRecovery

What could be a bug is
ReconcileWorkingCopyOperation:makeConsistent
The AST created created on this.ast = workingCopy.makeConsistent
always has statement reconvery, even if not wanted.
Comment 1 David Audel CLA 2006-01-30 10:13:13 EST
Fixed and test added
  ReconcilerStatementsRecoveryTests#testStatementsRecovery01() -> testStatementsRecovery04()

I removed the temporary option JavaCore#COMPILER_STATEMENTS_RECOVERY
Comment 2 Frederic Fusier CLA 2006-02-15 10:22:23 EST
Verified for 3.2 M5 using build I20060215-0010.