We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6cdfd36 commit 782bbcaCopy full SHA for 782bbca
test/jdk/java/util/concurrent/tck/ThreadPoolExecutorTest.java
@@ -1727,7 +1727,7 @@ public void testTimedInvokeAnyNullTimeUnit() throws Exception {
1727
e.invokeAny(l, randomTimeout(), null);
1728
shouldThrow();
1729
} catch (NullPointerException success) {
1730
- assertEquals("Cannot invoke \"java.util.concurrent.TimeUnit.toNanos(long)\" because \"unit\" is null", success.getMessage());
+ // Do not check the message, as ThreadPoolExecutor does not override invokeAny
1731
}
1732
1733
0 commit comments