This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 13679

Summary: New class can be created under projects folder
Product: projects Reporter: Martin Balin <mbalin>
Component: Generic Projects UIAssignee: issues@projects <issues>
Status: CLOSED DUPLICATE    
Severity: blocker    
Priority: P1    
Version: 3.x   
Hardware: Sun   
OS: Solaris   
Issue Type: DEFECT Exception Reporter:

Description Martin Balin 2001-07-18 08:55:31 UTC
[JDK 1.3.1 200107170100]

1. Create new project - ProjectY under some directory structure e.g. "com.cocom"
2. Invokde New -> Class on newly created project node ProjectY
3. Enter name "ClassX" and select packages under Filesystems:
com.cocom.ProjectY. Class can be created under project folder!
4. Press Finish button.

Class "ClassX" is created and its package statement is following "package
com.cocom.ProjectY" class itself is displayed twice in Workplace tab. Once as
normal Java object and second as shadow.

If we are using directory for projects storage then we have to preserve users
from creation of regular files under them. It is confusing.
Comment 1 Jan Pokorsky 2001-07-18 09:02:52 UTC
duplicate

*** This issue has been marked as a duplicate of 13677 ***
Comment 2 Jaromir Uhrik 2001-07-18 16:03:14 UTC
Verified - It is really a duplicate
Comment 3 Quality Engineering 2003-07-01 14:16:58 UTC
Resolved for 3.4.x or earlier, no new info since then -> closing.