--- a/jdk/src/share/classes/com/sun/jmx/interceptor/DefaultMBeanServerInterceptor.java Tue Sep 09 14:57:30 2008 +0200
+++ b/jdk/src/share/classes/com/sun/jmx/interceptor/DefaultMBeanServerInterceptor.java Tue Sep 09 17:01:45 2008 +0200
@@ -2021,7 +2021,7 @@
private void addJMXNamespace(JMXNamespace namespace,
final ObjectName logicalName,
final Queue<Runnable> postQueue) {
- dispatcher.addNamespace(logicalName, namespace, postQueue);
+ dispatcher.addInterceptorFor(logicalName, namespace, postQueue);
}
/**
@@ -2035,7 +2035,7 @@
private void removeJMXNamespace(JMXNamespace namespace,
final ObjectName logicalName,
final Queue<Runnable> postQueue) {
- dispatcher.removeNamespace(logicalName, namespace, postQueue);
+ dispatcher.removeInterceptorFor(logicalName, namespace, postQueue);
}
/**