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

Reply via email to