RFR: 8334777: Test javax/management/remote/mandatory/notif/NotifReconnectDeadlockTest.java failed with NullPointerException

Chris Plummer cjplummer at openjdk.org
Fri Jun 28 17:58:18 UTC 2024


On Thu, 27 Jun 2024 15:53:09 GMT, Kevin Walls <kevinw at openjdk.org> wrote:

> Disable running this test with -Xcomp.
> 
> The NPE seen in this test is due to a timeout establishing the connection.  ServerCommunicatorAdmin hits its timeout, during an addNotificationListener call on a new connection.
> 
> -Xcomp causes this slowdown and the failure is reproducible.  There is no need to test this test with -Xcomp, we should exclude it as we do for various other tests.

My main concern is that for the reader of this test it's not obvious why it can't be run with -Xcomp. Maybe add an @comment explaining why.

-------------

PR Review: https://git.openjdk.org/jdk/pull/19930#pullrequestreview-2148647550


More information about the serviceability-dev mailing list