jdk/src/share/classes/javax/management/JMX.java
changeset 1510 e747d3193ef2
parent 834 dc74d4ddc28e
child 1514 7d443908a97d
--- a/jdk/src/share/classes/javax/management/JMX.java	Fri Oct 24 20:47:23 2008 -0700
+++ b/jdk/src/share/classes/javax/management/JMX.java	Mon Oct 27 14:02:40 2008 +0100
@@ -703,12 +703,12 @@
 
         InvocationHandler handler = new MBeanServerInvocationHandler(
                 connection, objectName, opts);
-        final Class[] interfaces;
+        final Class<?>[] interfaces;
         if (notificationEmitter) {
             interfaces =
                 new Class<?>[] {interfaceClass, NotificationEmitter.class};
         } else
-            interfaces = new Class[] {interfaceClass};
+            interfaces = new Class<?>[] {interfaceClass};
         Object proxy = Proxy.newProxyInstance(
                 interfaceClass.getClassLoader(),
                 interfaces,