jmx-dev Bug with jmxmp

Daniel Fuchs daniel.fuchs at oracle.com
Fri Oct 31 15:37:26 UTC 2014


On 31/10/14 14:46, Fabrice Bacchella wrote:
> Yes, it works well, but as the thread is called Thread-1, I needed to add :
>                      if (t.getName().startsWith("Thread-")) continue;
>
> Hop I will not be bitten by corner case.

Hey Fabrice,

I suppose you could do something like:

    if 
(t.getClass().getName().equals("javax.management.remote.generic.GenericConnectorServer$Receiver") 
{
       continue;
    }

best regards,

-- daniel


More information about the jmx-dev mailing list