boolean (StackTraceElement @NotNull [] stackTrace) { // Thread leaked: Thread[JMX client heartbeat 3,5,main] (alive) TIMED_WAITING // --- its stacktrace: // at java.base@17.0.9/java.lang.Thread.sleep(Native Method) // at java.management@17.0.9/com.sun.jmx.remote.internal.ClientCommunicatorAdmin$Checker.run(ClientCommunicatorAdmin.java:180) // at java.base@17.0.9/java.lang.Thread.run(Thread.java:840) return ContainerUtil.exists(stackTrace, element -> element.getClassName().contains("com.sun.jmx.remote")); }