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 9299 - change in BeanInstaller class to get rid off [ ] in the instance file name
Summary: change in BeanInstaller class to get rid off [ ] in the instance file name
Status: CLOSED FIXED
Alias: None
Product: guibuilder
Classification: Unclassified
Component: Code (show other bugs)
Version: 3.x
Hardware: Other OpenVMS
: P3 normal (vote)
Assignee: Tomas Pavek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-01-30 14:44 UTC by Isao Yanagimachi
Modified: 2009-11-07 13:34 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 Isao Yanagimachi 2001-01-30 14:44:49 UTC
Hi, fix is needed in the BeanInstaller class in
org.netbeans.modules.form.palette package.

It has been discussed in the nbdev mailing list( thread : [nbdev] instance file
name problem with "[" "]" characters) that the [] syntax is not
needed to create the instance file name in the BeansInstaller class, only
the class name is important in this case. This solves problems in the
OpenVMS platform where the [] is a deliminator.

The suggested fix is to change the BeanInstaller.format method so
it uses only the class path to create the instance file name - currently in
Netbeans, two types of instance file name is supported one using [] and one
using only the class path.

The following is the suggested code change in BeanInstaller.formatName method.

private static String formatName(String className) {
         String ret =  className.replace('.', '-') ;
          return ret;
      }


Thank you.

Isao Yanagimachi
Comment 1 Tomas Pavek 2001-01-30 15:50:59 UTC
I've applied the suggested fix.
Comment 2 Marian Mirilovic 2001-01-31 16:35:59 UTC
verified in [pilsen](010130),[nb-dev](115)


BUG also appears in version : FFJ20
Comment 3 Quality Engineering 2003-06-30 18:28:17 UTC
Resolved for 3.3.x or earlier, no new info since then -> closing.