You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: java-compiler-testing/src/main/java/io/github/ascopes/jct/filemanagers/config/JctFileManagerConfigurerChain.java
+22-8Lines changed: 22 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -19,6 +19,8 @@
19
19
importjava.util.ArrayDeque;
20
20
importjava.util.Deque;
21
21
importjava.util.List;
22
+
importjava.util.concurrent.locks.Lock;
23
+
importjava.util.concurrent.locks.ReentrantLock;
22
24
importorg.apiguardian.api.API;
23
25
importorg.apiguardian.api.API.Status;
24
26
importorg.slf4j.Logger;
@@ -28,8 +30,8 @@
28
30
* A chain of configurers to apply to a file manager.
29
31
*
30
32
* <p>While not designed for concurrent use, all operations are shielded by a
31
-
* mutex to guard against potentially confusing behaviour should this component
32
-
* be shared across multiple threads.
33
+
* lock to guard against potentially confusing behaviour, should this component
34
+
* be shared across multiple physical and virtual threads.
33
35
*
34
36
* @author Ashley Scopes
35
37
* @since 0.0.1
@@ -39,14 +41,14 @@ public final class JctFileManagerConfigurerChain {
0 commit comments