Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
None
-
None
Description
DataHelperImpl.toCalendar() currently returns null if the locale parameter is null. However, according to the published SDO API javadoc comments, if locale is null then the default locale should be used. To resolve this, the following code can be added at the start of the method.
if (locale == null)
{ locale = Locale.getDefault(); }