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: | ProxyLookup caches Templates | ||
---|---|---|---|
Product: | platform | Reporter: | Martin Roskanin <mroskanin> |
Component: | Lookup | Assignee: | Jaroslav Tulach <jtulach> |
Status: | CLOSED FIXED | ||
Severity: | blocker | ||
Priority: | P3 | ||
Version: | 4.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: | ProxyLookupTest diff |
Description
Martin Roskanin
2005-05-16 09:35:05 UTC
Created attachment 22140 [details]
ProxyLookupTest diff
cvs -q ci -m "#58941: The array passed to setLookups was thought as not modifiable and if someone modified it and setLookups once again things were obviously broken. Making clone of the array in setLookups and also creating clone in getLookups. Testing both cases." Checking in src/org/openide/util/lookup/ProxyLookup.java; /cvs/openide/util/src/org/openide/util/lookup/ProxyLookup.java,v <-- ProxyLookup.java new revision: 1.2; previous revision: 1.1 done Checking in test/unit/src/org/openide/util/lookup/ProxyLookupTest.java; /cvs/openide/util/test/unit/src/org/openide/util/lookup/ProxyLookupTest.java,v <-- ProxyLookupTest.java new revision: 1.2; previous revision: 1.1 Verified. Thanks. |