<i18n dev> RFR: 8351074: Disallow null prefix and suffix in DecimalFormat [v2]
Justin Lu
jlu at openjdk.org
Tue Mar 4 01:47:40 UTC 2025
> Please review this PR and associated CSR which disallows passing null to 4 `DecimalFormat` prefix/suffix setter methods.
>
> Currently these setters do not check the input String for null. When the prefix/suffix is null, any such DecimalFormat instances are effectively non-functional as it will throw NPE for most operations.
Justin Lu has updated the pull request incrementally with one additional commit since the last revision:
correct bug ID for test
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/23880/files
- new: https://git.openjdk.org/jdk/pull/23880/files/56af293b..e13ac0d0
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=23880&range=01
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=23880&range=00-01
Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod
Patch: https://git.openjdk.org/jdk/pull/23880.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/23880/head:pull/23880
PR: https://git.openjdk.org/jdk/pull/23880
More information about the i18n-dev
mailing list