[Bug 236031] Sample datasource deadlock

Tomas Kraus <[email protected]> Fri, 20 Sep 2013 12:17:04 +0200
Newsgroups gmane.comp.java.netbeans.reviewers
Message-ID <[email protected]>
Bug# 208447 regression causing deadlock when working with Lookup.
UI freezes so it may cause significant problems.

Fix removes deadlock conditions by removal of Lookup usage (it's 
possible to access that object instance without Lookup) in one code path 
and by removal of one of the locks in second one (removed Lookup 
instance lazy init and moved it into constructor - no locking is needed 
now but it will eat some memory with every instance).

changeset: 263832:c267c1426d63
summary: #236031 - Deadlock condition removed