Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -1074,12 +1074,7 @@ public void decode(char[] lexical, int start, int end) throws IllegalArgumentExc
{
int len = end-start;
try {
/* !!! 21-Nov-2008, TSa: This constructor was added in JDK1.5
* so can't yet be used (As of Woodstox 4.x).
* Need to use the older constructor for now
*/
//mValue = new BigDecimal(lexical, start, len);
mValue = new BigDecimal(new String(lexical, start, len));
mValue = new BigDecimal(lexical, start, len);
} catch (NumberFormatException nex) {
throw constructInvalidValue(new String(lexical, start, len));
}
Expand Down