Bug 28545

Summary: JavaProject.exists() returns true if project doesn't have Java nature
Product: [Eclipse Project] JDT Reporter: Jerome Lanneluc <jerome_lanneluc>
Component: CoreAssignee: Jerome Lanneluc <jerome_lanneluc>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: a.naseer, dirk_baeumer
Version: 2.1   
Target Milestone: 2.1 M5   
Hardware: PC   
OS: Windows 2000   
Whiteboard:

Description Jerome Lanneluc CLA 2002-12-17 12:34:18 EST
Build 20021216

JavaProject.exists() doesn't check if the project has the Java nature, and thus 
it returns true for a simple project.
Comment 1 Philipe Mulet CLA 2002-12-17 14:31:24 EST
Need to double check spec and dependents.
Comment 2 Jerome Lanneluc CLA 2003-01-14 04:58:45 EST
*** Bug 29404 has been marked as a duplicate of this bug. ***
Comment 3 Jerome Lanneluc CLA 2003-01-14 05:26:33 EST
Added JavaProject.exists() that checks if the project has the Java nature 
before calling super.exists().

Added regression test ExistenceTests.testNonJavaProject()
Comment 4 David Audel CLA 2003-02-07 11:07:23 EST
Verified.
Comment 5 Kai-Uwe Maetzel CLA 2003-02-10 10:04:16 EST
*** Bug 30155 has been marked as a duplicate of this bug. ***