jdk/src/share/classes/com/sun/jmx/mbeanserver/OpenConverter.java
changeset 287 bff5501b2a02
parent 268 aa06754a95de
--- a/jdk/src/share/classes/com/sun/jmx/mbeanserver/OpenConverter.java	Thu Mar 27 14:15:59 2008 -0700
+++ b/jdk/src/share/classes/com/sun/jmx/mbeanserver/OpenConverter.java	Tue Apr 01 14:45:23 2008 +0200
@@ -438,7 +438,7 @@
                 c.getClassLoader() == null);
 
         final List<Method> methods =
-                MBeanAnalyzer.eliminateCovariantMethods(c.getMethods());
+                MBeanAnalyzer.eliminateCovariantMethods(Arrays.asList(c.getMethods()));
         final SortedMap<String,Method> getterMap = newSortedMap();
 
         /* Select public methods that look like "T getX()" or "boolean