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.
How to reproduce: 1) Invoke Filter/Server wizard 2) Type Class Name with leading dot(s) ".", ending dot(s) or middle duplicated dots, eg.: ".com..myCompany.com.." 3) ERROR: name is not qualified as bad, BUT it works properly as class name "com.myCompany.com"
Created attachment 13442 [details] proposed patch
Evaluation: Issue is in the StringTokenizer() method. For example: String st = "..com...mycompany....Servlets...newServlet....."; StringTokenizer(st,".") -> com mycompany Servlets newServlet that in our case it is wrong. Therefore i have tried to replace it.
Fixed for Promo-D - dots are not allowed in java family wizards Thanks for the patch anyway.
Still reproducible in package combo box in all class wizards. Reopening & reasigning to java module.
Created attachment 15587 [details] same case : use of method "StringTokenizer".
It seems to be working now.
Multi dots are still not qualified as wrong package name. Reopening.
Still reproducible in 200508091800. Steps to reproduce: --------------- 1)In Explorer, right click a project and add new java package 2)Insert a name like this: com...smtg..alfa --> This would lead to a new package created, named com.smtg.alfa
This bug was reported against NetBeans IDE 6.0 or an older release, or against a non-maintained module. NetBeans team does not have enough resources to get to this issue, therefore we are closing the issue as a WONTFIX. If you are interested in providing a patch for this bug, please see our NetFIX guidelines for how to proceed. We apologize for any inconvenience. Thank you. The NetBeans Team