Bug 197085

Summary: Even though its compile time error. Why the following code is running?
Product: [Eclipse Project] JDT Reporter: Niyas <niyaskb>
Component: CoreAssignee: JDT-Core-Inbox <jdt-core-inbox>
Status: VERIFIED DUPLICATE QA Contact:
Severity: normal    
Priority: P3 CC: niyaskb
Version: 3.3   
Target Milestone: 3.4 M1   
Hardware: Sun   
OS: Windows XP   
URL: http://laratechnologies.com
Whiteboard:

Description Niyas CLA 2007-07-19 03:04:02 EDT
package com.lara;


interface PersonManager
{
	public static final double height = 25;
	void getData1();
}

class Manager1 implements PersonManager
{
	Manager1()
	{
		System.out.println("Why this is working ?");
	}
}

class InterfaceCheck
{
	public static void main(String[] args)
	{
		Manager1 ma1 = new Manager1();
	}
}
Comment 1 Olivier Thomann CLA 2007-07-19 08:37:34 EDT

*** This bug has been marked as a duplicate of bug 197084 ***
Comment 2 Frederic Fusier CLA 2007-12-20 06:56:09 EST
Verified for 3.4M1