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 114331 - class creation always creating the same class?
Summary: class creation always creating the same class?
Status: RESOLVED DUPLICATE of bug 114193
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 6.x
Hardware: All All
: P1 blocker (vote)
Assignee: issues@java
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-08-31 10:08 UTC by kawazu428
Modified: 2007-09-26 09:14 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description kawazu428 2007-08-31 10:08:04 UTC
Running nb6.0 build 200708300000, I have seen a rather strange error related to Java class creation. To reproduce:

1. create a new Java project
2. in there, create a new class "Class1" in one package "package1"
3. create a new package "package2" and try to create "Class2" in there


Right here, as soon as I created one class, every new class to be created will per default contain the same content,
i.o.w. the same class name and the same path name. Following the steps above, after (3.) "Class2.java" will contain a
definition "public class Class1" in package "package1". This is not what's intended, isn't it?

Thanks for your time and best regards,
Kristian
Comment 1 Jiri Prox 2007-08-31 10:26:58 UTC
This should be fixed now. See issue 114193

*** This issue has been marked as a duplicate of 114193 ***
Comment 2 Quality Engineering 2007-09-20 12:29:14 UTC
Reorganization of java component