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.
Summary: | Creation package with default name can duplicate files. | ||
---|---|---|---|
Product: | java | Reporter: | ehucka <ehucka> |
Component: | Unsupported | Assignee: | Jan Pokorsky <jpokorsky> |
Status: | VERIFIED FIXED | ||
Severity: | blocker | ||
Priority: | P2 | ||
Version: | 3.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
ehucka
2003-11-11 09:31:27 UTC
I've recognized that it is not only in default named package. Steps to reproduce: 1. go to a filesystem and create package a.b.c 2. go to this package and create a class into it e.g. String 3. go to a filesystem and try to create package a.b.c once more Result: all classes in a.b.c will be duplicated - String_1 In addition the new wizard detects first level package name duplicity but doesn't detect second and others. There is an insufficient validation in JavaPackageIterator. Fixed in /cvs/java/src/org/netbeans/modules/java/ui/wizard/JavaPackageIterator.java new revision: 1.10; previous revision: 1.9 /cvs/java/src/org/netbeans/modules/java/ui/wizard/Bundle.properties new revision: 1.24; previous revision: 1.23 Verified with 200311241900. Reorganization of java component |