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.
During installation of modules there are lot's of calls to NetigsoModule.getMainAttribute. Thousands of them. Due to the implementation based on regexp (String.replace) thousands of Matchers and Patterns are created, which is slow. The values in getMainAttribute and getCodeNameBase should probably be cached.
ergonomics#c956d207a9a4
Integrated into 'main-golden', will be available in build *201202260400* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/c956d207a9a4 User: Jaroslav Tulach <jtulach@netbeans.org> Log: #208762: Caching codeName and specification version. Not using regular expression to strip off ';.*'