Skip to content

Commit ace9b16

Browse files
Fix locking - lock records need to be kept per factory instance not globally
1 parent 4388561 commit ace9b16

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ide/parsing.lucene/src/org/netbeans/modules/parsing/lucene/RecordOwnerLockFactory.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
//@ThreadSafe
4040
class RecordOwnerLockFactory extends LockFactory {
4141

42-
private static final Set<DirectoryLockPair> lockHolder = ConcurrentHashMap.newKeySet();
42+
private final Set<DirectoryLockPair> lockHolder = ConcurrentHashMap.newKeySet();
4343

4444
RecordOwnerLockFactory() throws IOException {
4545
super();

0 commit comments

Comments
 (0)