Bug 42614 - 1.3 compliant mode should select default enclosing instance
Summary: 1.3 compliant mode should select default enclosing instance
Status: VERIFIED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.0   Edit
Hardware: PC Windows 2000
: P3 normal (vote)
Target Milestone: 3.0 M4   Edit
Assignee: Philipe Mulet CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-09-05 12:34 EDT by Philipe Mulet CLA
Modified: 2003-10-08 07:32 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 Philipe Mulet CLA 2003-09-05 12:34:19 EDT
Build 3.0M3

In 1.3 compliant mode, the compiler should accept the following code:
public class X {
	class MX1 extends X {
		MX1() {
		}
	}
	class MX2 extends MX1 {
		MX2() {
			super();	// ko only in 1.4 mode
		}
		MX2(X x) {
			this();		// ok
		}
	}
}
Comment 1 Philipe Mulet CLA 2003-09-05 12:55:47 EDT
Fixed in latest
Comment 2 David Audel CLA 2003-10-08 07:32:05 EDT
Verified.