Bug 125641

Summary: Problems enabling AST with recovery
Product: [Eclipse Project] JDT Reporter: Martin Aeschlimann <martinae>
Component: CoreAssignee: David Audel <david_audel>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: david_audel
Version: 3.2   
Target Milestone: 3.2 M5   
Hardware: PC   
OS: Windows XP   
Whiteboard:

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.