Skip to content

Commit 41b4166

Browse files
author
Vincent Potucek
committed
[tryout fix] concurrency bug in NamespacedHierarchicalStore#computeIfAbsent(Object, Object, Function) junit-team#5171 junit-team#5209
Signed-off-by: Vincent Potucek <[email protected]>
1 parent 87808ae commit 41b4166

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

platform-tests/src/test/java/org/junit/platform/engine/support/store/NamespacedHierarchicalStoreTests.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -695,9 +695,9 @@ class ConcurrencyIssue5171 {
695695
* potential deadlocks when map locks are held.
696696
*/
697697
private static final class CollidingKey {
698-
private final int value;
698+
private final Object value;
699699

700-
CollidingKey(int value) {
700+
CollidingKey(Object value) {
701701
this.value = value;
702702
}
703703

0 commit comments

Comments
 (0)