src/share/classes/java/beans/PropertyDescriptor.java

Print this page

        

@@ -110,11 +110,11 @@
             throw new IntrospectionException("Method not found: " + writeMethodName);
         }
         // If this class or one of its base classes allow PropertyChangeListener,
         // then we assume that any properties we discover are "bound".
         // See Introspector.getTargetPropertyInfo() method.
-        Class[] args = { PropertyChangeListener.class };
+        Class<?>[] args = { PropertyChangeListener.class };
         this.bound = null != Introspector.findMethod(beanClass, "addPropertyChangeListener", args.length, args);
     }
 
     /**
      * This constructor takes the name of a simple property, and Method