< prev index next >

application/tests/org.openjdk.jmc.rjmx.test/src/test/java/org/openjdk/jmc/rjmx/test/subscription/NotificationAttributeSubscriptionTest.java

Print this page

        

*** 62,73 **** try { // RMP does not support notifications MRI descriptor = null; synchronized (this) { // Starting up a subscription on a one shot attribute. ! descriptor = new MRI(Type.NOTIFICATION, "com.sun.management:type=GarbageCollectionAggregator", //$NON-NLS-1$ ! "com.sun.management.gc.notification"); //$NON-NLS-1$ getAttributeSubscriptionService().addMRIValueListener(descriptor, this); secondThreadException = null; final IConnectionHandle threadModel = m_connectionHandle; new Thread(new Runnable() { --- 62,73 ---- try { // RMP does not support notifications MRI descriptor = null; synchronized (this) { // Starting up a subscription on a one shot attribute. ! descriptor = new MRI(Type.NOTIFICATION, "com.sun.management:type=GarbageCollectionAggregator", ! "com.sun.management.gc.notification"); getAttributeSubscriptionService().addMRIValueListener(descriptor, this); secondThreadException = null; final IConnectionHandle threadModel = m_connectionHandle; new Thread(new Runnable() {
< prev index next >