RFR: 8286294 : ForkJoinPool.commonPool().close() spins [v2]
Martin Buchholz
martin at openjdk.java.net
Fri May 6 21:31:35 UTC 2022
On Fri, 6 May 2022 21:27:53 GMT, Martin Buchholz <martin at openjdk.org> wrote:
>> test/jdk/java/util/concurrent/tck/ForkJoinPool19Test.java line 496:
>>
>>> 494:
>>> 495: /**
>>> 496: * Implictly closing a new pool using try-with-resources terminates it
>>
>> Typo "Implictly" - twice
>
> Tests in this file are not being executed. I think you need:
>
> --- a/test/jdk/java/util/concurrent/tck/ForkJoinPool19Test.java
> +++ b/test/jdk/java/util/concurrent/tck/ForkJoinPool19Test.java
> @@ -55,7 +55,7 @@ public class ForkJoinPool19Test extends JSR166TestCase {
> }
>
> public static Test suite() {
> - return new TestSuite(ForkJoinPool8Test.class);
> + return new TestSuite(ForkJoinPool19Test.class);
> }
>
> /**
--- a/test/jdk/java/util/concurrent/tck/ForkJoinPool19Test.java
+++ b/test/jdk/java/util/concurrent/tck/ForkJoinPool19Test.java
@@ -55,7 +55,7 @@ public class ForkJoinPool19Test extends JSR166TestCase {
}
public static Test suite() {
- return new TestSuite(ForkJoinPool8Test.class);
+ return new TestSuite(ForkJoinPool19Test.class);
}
/**
-------------
PR: https://git.openjdk.java.net/jdk/pull/8577
More information about the core-libs-dev
mailing list