-
Bug
-
Resolution: Duplicate
-
P4
-
None
-
1.1.8
-
None
-
sparc
-
solaris_2.5
Name: saC57035 Date: 04/09/99
This report is submitted for the only purpose of tracking the JDK problem within EJCK.
The problem is fixed in JDK 1.2, so please feel free to close out this report as
integrated in JDK 1.2 (or as duplicate if this problem has already been reported).
Class.forName(String s) with not legal s throws unexpected IllegalArgumentException
------------- Test.java -------------------------
public class Test {
public static void main(String [] args) throws ClassNotFoundException {
Class.forName("a b");
}
}
------- Output --------------------------------
java.lang.IllegalArgumentException: a b
at Test.main(Test.java:3)
-------------------------------------------------
======================================================================
- duplicates
-
JDK-4074313 Class.forName( null ) throws incorrect exception.
-
- Closed
-