Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-6516909

(cl spec) ClassLoader.loadClass() clarification to indicate it shouldn't be used for array classes

XMLWordPrintable

      A DESCRIPTION OF THE PROBLEM :
      As a follow up to the evaluation in bug #6446627 I am requesting that the Javadoc for ClassLoader.loadClass(String, boolean) be updated to explicitly note that parameter "name" does not accept array classes and Class.forName() should be used instead.


      URL OF FAULTY DOCUMENTATION :
      http://java.sun.com/javase/6/docs/api/java/lang/ClassLoader.html#loadClass(java.lang.String,%20boolean)

            mchung Mandy Chung (Inactive)
            ndcosta Nelson Dcosta (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: