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 31578 - Problem with NbBundle after disable/enable form module
Summary: Problem with NbBundle after disable/enable form module
Alias: None
Product: platform
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 3.x
Hardware: PC Linux
: P2 blocker (vote)
Assignee: Jesse Glick
Depends on:
Blocks: 13847
  Show dependency tree
Reported: 2003-02-28 15:23 UTC by mslama
Modified: 2008-12-22 16:56 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:

Part of log (4.59 KB, text/plain)
2003-02-28 15:26 UTC, mslama

Note You need to log in before you can comment on or make changes to this bug.
Description mslama 2003-02-28 15:23:44 UTC
When I disable/enable form module NbBundle is not
able to return localized keys from form module.
Not sure where to assign. It is annoying because
IDE displays incorrect display name for GUI
Editing workspace and mode Form. Workaround is to
restart IDE.
Comment 1 mslama 2003-02-28 15:26:55 UTC
Created attachment 9221 [details]
Part of log
Comment 2 Jesse Glick 2003-02-28 15:43:49 UTC
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.
Comment 3 Jesse Glick 2003-03-10 21:49:59 UTC
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.
Comment 4 Jesse Glick 2003-03-11 19:02:02 UTC
committed     Up-To-Date  1.52       
Comment 5 Jesse Glick 2003-03-11 21:06:48 UTC

committed     Up-To-Date   
Comment 6 Marian Mirilovic 2003-04-08 17:50:08 UTC
verified in [nb3.5](200304072350)