Bug 24500 - AST: No binding for field instance access in constructor invocation
Summary: AST: No binding for field instance access in constructor invocation
Status: VERIFIED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 2.0   Edit
Hardware: PC Windows 2000
: P3 normal (vote)
Target Milestone: 2.1 M2   Edit
Assignee: Olivier Thomann CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-10-08 09:30 EDT by Martin Aeschlimann CLA
Modified: 2002-10-17 10:29 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.