Bug 28545 - JavaProject.exists() returns true if project doesn't have Java nature
Summary: JavaProject.exists() returns true if project doesn't have Java nature
Status: VERIFIED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 2.1   Edit
Hardware: PC Windows 2000
: P3 normal (vote)
Target Milestone: 2.1 M5   Edit
Assignee: Jerome Lanneluc CLA
QA Contact:
URL:
Whiteboard:
Keywords:
: 29404 (view as bug list)
Depends on:
Blocks:
 
Reported: 2002-12-17 12:34 EST by Jerome Lanneluc CLA
Modified: 2003-02-10 10:04 EST (History)
2 users (show)

See Also:


Attachments

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