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 75770 - I18N - Package name with regional characters should be refused
Summary: I18N - Package name with regional characters should be refused
Status: VERIFIED WONTFIX
Alias: None
Product: java
Classification: Unclassified
Component: Project (show other bugs)
Version: 5.x
Hardware: Macintosh Mac OS X
: P2 blocker (vote)
Assignee: Tomas Zezula
URL:
Keywords: I18N
Depends on:
Blocks:
 
Reported: 2006-05-02 11:38 UTC by Jaromir Uhrik
Modified: 2006-10-23 16:40 UTC (History)
4 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Screenshot attached... (13.74 KB, image/png)
2006-05-02 11:40 UTC, Jaromir Uhrik
Details
Screenshot attached... (37.16 KB, image/png)
2006-10-17 16:08 UTC, Jaromir Uhrik
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jaromir Uhrik 2006-05-02 11:38:25 UTC
[build of 20060501 from 5.5 Beta branch]
I created package with character specific for czech alphabet. The file/package
is created and appears 2x in projects view (see attached screenshot). When the
java class is created in the second of them then this file appears in <default
package>.
Comment 1 Jaromir Uhrik 2006-05-02 11:40:17 UTC
Created attachment 30158 [details]
Screenshot attached...
Comment 2 Jiri Prox 2006-05-02 12:55:34 UTC
Cannot reproduce on Linux FC2 /  WinXP
Comment 3 Jaromir Uhrik 2006-05-02 14:28:42 UTC
I am not able to reproduce on Linux either. It is probably Mac OS X specific.
Comment 4 Jan Becicka 2006-05-04 15:08:08 UTC
java project implements package view
Comment 5 Tomas Zezula 2006-09-12 10:54:53 UTC
Seems a problem in the PackagesView, the regional (UTF) name is a valid package
name.
Comment 6 Antonin Nebuzelsky 2006-09-22 16:14:28 UTC
In 5.0 as well?
Comment 7 Jaromir Uhrik 2006-10-17 16:06:40 UTC
NetBeans IDE Dev (Build 200610131800)
1.5.0_06; Java HotSpot(TM) Client VM 1.5.0_06-64
Mac OS X version 10.4.8 running on ppc
en_US (nb); MacRoman

Only one instance of package appears now in trunk build. But when the java file
is created in the package with regional characters then this class in
incompilable because there is invalid package name at the bottom of the file.
See attached screenshot.
Comment 8 Jaromir Uhrik 2006-10-17 16:08:48 UTC
Created attachment 35295 [details]
Screenshot attached...
Comment 9 Milan Kubec 2006-10-19 12:32:37 UTC
Original problem (doubled package name in Projects view) is no more reproducible
and the second problem with invalid package name depends on encoding used by OS
filesystem. If the FS encoding is compatible with encoding of the package name
and file name it doesn't happen - tested on czech WinXP with czech characters in
package name and java file name.
Comment 10 Jaromir Uhrik 2006-10-19 14:29:05 UTC
As you can see in my previous comment I am not able to reproduce the problem
from original issue description. I agree with WONTFIX and marking this issue as
VERIFIED.