How to protect dynamic lookup content when it is changing?
"rsobies" <[email protected]>
| Newsgroups | gmane.comp.java.netbeans.modules.openide.devel |
|---|---|
| Message-ID | <[email protected]> |
Boris Heithecker wrote: > Keep a reference to the InstanceContent and synchronize on it. It should work as a common lock. > synchronization should be done inside setNewKey() and in getLookup() i cannot override getLookup, it is final