RFR: 8358633 : Test ThreadPoolExecutorTest::testTimedInvokeAnyNullTimeUnit is broken by JDK-8347491
David Holmes
dholmes at openjdk.org
Thu Jun 5 08:14:53 UTC 2025
On Thu, 5 Jun 2025 07:47:17 GMT, Viktor Klang <vklang at openjdk.org> wrote:
> It's too fragile to depend on generated NPE messages
Sorry Viktor but I strongly disagree. It is far too easy to have a test "pass" because it catches the wrong instance of a thrown exception and hide an underlying problem.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/25655#issuecomment-2943190741
More information about the core-libs-dev
mailing list