You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "rootvector2 (via GitHub)" <gi...@apache.org> on 2026/07/21 06:40:51 UTC
[PR] fix failed conversion in DoubleLocaleConverter when input is non-Double Number (1.X) [commons-beanutils]
rootvector2 opened a new pull request, #424:
URL: https://github.com/apache/commons-beanutils/pull/424
port of #422: `DoubleLocaleConverter.parse()` only special-cases `Long`; any other `Number` subtype passed directly to the converter (e.g. `Integer`, `Float`, `BigDecimal`) is returned as-is and fails in `checkConversionResult` with `ConversionException: Unsupported target type` (the 1.X symptom of the same bug — the cast lives in `BaseLocaleConverter` here rather than in `parse`). convert any non-Double `Number` via `doubleValue()` instead, matching the master fix.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@commons.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Fix failed conversion in DoubleLocaleConverter when input is non-Double Number (1.X) [commons-beanutils]
Posted by "garydgregory (via GitHub)" <gi...@apache.org>.
garydgregory merged PR #424:
URL: https://github.com/apache/commons-beanutils/pull/424
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@commons.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org