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.
Summary: | Problem with NbBundle after disable/enable form module | ||
---|---|---|---|
Product: | platform | Reporter: | mslama <mslama> |
Component: | -- Other -- | Assignee: | Jesse Glick <jglick> |
Status: | VERIFIED FIXED | ||
Severity: | blocker | CC: | jglick, pnejedly |
Priority: | P2 | Keywords: | PERFORMANCE |
Version: | 3.x | ||
Hardware: | PC | ||
OS: | Linux | ||
Issue Type: | DEFECT | Exception Reporter: | |
Bug Depends on: | |||
Bug Blocks: | 13847 | ||
Attachments: | Part of log |
Description
mslama
2003-02-28 15:23:44 UTC
Created attachment 9221 [details]
Part of log
NbBundle.getBundleFast caches misses as well as hits. Unfortunately the system class loader can add modules without changing identity, causing cached misses to be inaccurate. Fix is probably to just delete the miss caching. I think it should be OK because individual locale variants of *.properties are not cached, only the merged bundle - and this should rarely be a cache miss since you expect at least the base bundle to exist. Generally, was refusing to acknowledge existence of bundles provided by a module if this was tested once with the module off and then again with the module turned on (without restarting). Could have broader impact than just window system display names, so safest to fix it now. Anyway was a regression caused by fix of issue #13847, which generally merits a P2. committed Up-To-Date 1.52 openide/src/org/openide/util/NbBundle.java Merged. committed Up-To-Date 1.51.6.1 openide/src/org/openide/util/NbBundle.java verified in [nb3.5](200304072350) |