-
Bug
-
Resolution: Duplicate
-
P4
-
None
-
1.1
-
generic
-
generic
The specification for Class.forName( String fullName ) does not specify behavior for argument fullName when it is null. The "default" behavior for null arguments is to throw NullPointerException. The current behavior is to throw an IllegalArgumentException. Which behavior is intended?
- duplicates
-
JDK-4074313 Class.forName( null ) throws incorrect exception.
-
- Closed
-