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 51890 - class file name is capital sensitive
Summary: class file name is capital sensitive
Status: RESOLVED INVALID
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 4.x
Hardware: PC Windows ME/2000
: P3 blocker (vote)
Assignee: issues@java
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-11-28 13:21 UTC by pzgyuanf
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 pzgyuanf 2004-11-28 13:21:12 UTC
Class file name is capital sensitive 
for example,can not include Main.java and
MAIN.java in the same package. This defect cause
refactor error
Comment 1 Martin Matula 2004-11-28 18:04:22 UTC
Could you please describe in more detail what exactly the problem is
and what the steps to reproduce it are? Thanks in advance.
Comment 2 pzgyuanf 2004-11-29 04:24:34 UTC
- new Java Application project, accept create a Main class, say Main.java
- in the same project, new Java class, let the name call MAIN.java. 
** In the new class dialog, a dark blue tip say: " the MAIN.java file
already exists."

BTW, I catch this only because I import a already external project,
which has a file name Lable.java and LABLE.java, I try to refactor the
LABLE.java to Lable1.java and failed.

regards
pprun
Comment 3 pzgyuanf 2004-11-29 05:24:49 UTC
I'm sorry for my error discription, it must be "Class file name is NOT
capital sensitive" 
Comment 4 Jan Becicka 2005-01-14 15:47:07 UTC
Windows does not support two files with the same name (Main.java and
MAIN.java). Netbeans IDE inherits this behavior since Windows is
supported platform.
Comment 5 pzgyuanf 2005-01-15 04:38:52 UTC
Jan Becicka , thank you.

the a dark blue tip may say more clear as your explanation.
Comment 6 Quality Engineering 2007-09-20 12:11:00 UTC
Reorganization of java component