Details
-
Bug
-
Resolution: Fixed
-
P3
-
6
-
b95
-
generic
-
generic
Description
All the classes that extend java.lang.Enum class have the method valueOf(String name). The spec says that if this enum type has no constant with the specified name then IllegalArgumentException is thrown. But if the user pass null as a name then in fact NullPointerException is thrown but not IAE.
###@###.### 2005-07-07 15:29:00 GMT
It is necessary to document the fact of throwing NPE in the spec.
###@###.### 2005-07-07 15:29:00 GMT
Moved "suggested fix" note to description.
###@###.### 2005-07-14 18:08:57 GMT
###@###.### 2005-07-07 15:29:00 GMT
It is necessary to document the fact of throwing NPE in the spec.
###@###.### 2005-07-07 15:29:00 GMT
Moved "suggested fix" note to description.
###@###.### 2005-07-14 18:08:57 GMT
Attachments
Issue Links
- duplicates
-
JDK-6456895 Update test/com/sun/javadoc/testNewLanguageFeatures following 6294715
- Closed