Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
Nightly Builds
-
None
-
None
-
Operating System: All
Platform: All
-
27747
Description
Reading an existing not boolean property using the method
public boolean getBoolean(String key)
throws a NoSuchElementException instead of a ClassCastException as correct
using
public boolean getBoolean(String key, boolean defaultValue)
public Boolean getBoolean(String key, boolean defaultValue)
we get a null value instead of a ClassCastException as correct