Bug 24500

Summary: AST: No binding for field instance access in constructor invocation
Product: [Eclipse Project] JDT Reporter: Martin Aeschlimann <martinae>
Component: CoreAssignee: Olivier Thomann <Olivier_Thomann>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 2.0   
Target Milestone: 2.1 M2   
Hardware: PC   
OS: Windows 2000   
Whiteboard:

Description Martin Aeschlimann CLA 2002-10-08 09:30:32 EDT
see bug 24449:
In this code 'fCoo' is has no binding due to a access problem.

public class C {
	private C() {
		this(fCoo);
	}
	
	private C(int i) {
	}

	private int fCoo= 8;
	
	}
}
Comment 1 Martin Aeschlimann CLA 2002-10-08 09:39:16 EDT
LocalCorrectionsQuickFixTest.testNonStaticFieldRequestedInConstructor
Comment 2 Olivier Thomann CLA 2002-10-08 09:44:38 EDT
I will investigate.
Comment 3 Olivier Thomann CLA 2002-10-08 11:27:02 EDT
Fixed and released in 2.1 stream. Regression tests added.
Comment 4 Olivier Thomann CLA 2002-10-08 11:39:24 EDT
Change target milestone.
Comment 5 David Audel CLA 2002-10-17 10:29:38 EDT
Verified.