-
Enhancement
-
Resolution: Fixed
-
P3
-
6
-
b03
-
x86
-
windows_xp
-
Verified
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)
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)
- duplicates
-
JDK-6434149 (cl) ClassLoader.loadClass() throws java.lang.ClassNotFoundException: [Ljava.lang.String; in JDK 6.0
-
- Closed
-
-
JDK-6249970 clarification needed: binary name of array type in ClassLoader.loadClass
-
- Closed
-
- relates to
-
JDK-8032603 Remove sun.lang.ClassLoader.allowArraySyntax from the secure jnlp properties
-
- Closed
-
-
JDK-6446627 Reading Serialized arrays of objects throws ClassNotFoundException
-
- Closed
-
-
JDK-6434149 (cl) ClassLoader.loadClass() throws java.lang.ClassNotFoundException: [Ljava.lang.String; in JDK 6.0
-
- Closed
-