8031361: Fix raw types warning in java.lang.management
authordarcy
Tue, 07 Jan 2014 12:56:29 -0800
changeset 22120 3ec2fa1035de
parent 22119 da8b8a10483f
child 22121 b1aa108cccb5
8031361: Fix raw types warning in java.lang.management Reviewed-by: psandoz, lancea, alanb
jdk/src/share/classes/java/lang/management/ManagementFactory.java
--- a/jdk/src/share/classes/java/lang/management/ManagementFactory.java	Tue Jan 07 09:58:16 2014 -0800
+++ b/jdk/src/share/classes/java/lang/management/ManagementFactory.java	Tue Jan 07 12:56:29 2014 -0800
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2003, 2013, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2003, 2014, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -612,7 +612,7 @@
                     " is not an instance of " + mxbeanInterface);
             }
 
-            final Class[] interfaces;
+            final Class<?>[] interfaces;
             // check if the registered MBean is a notification emitter
             boolean emitter = connection.isInstanceOf(objName, NOTIF_EMITTER);