--- 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,