JDK 9 RFR of 8064463: BigDecimal should populate NumberFormatException message
Brian Burkhalter
brian.burkhalter at oracle.com
Mon Dec 22 21:13:51 UTC 2014
Please review at your convenience.
Issue: https://bugs.openjdk.java.net/browse/JDK-8064463
Patch: http://cr.openjdk.java.net/~bpb/8064463/webrev.00/
Summary:
Ensure that the message strings of all NumberFormatExceptions are populated with appropriate content, excluding where the NFE merely wraps another exception in its cause.
It was suggested in the issue description to include the contents of the supplied character array in the exception message. This is not done in this patch for the reason that the resulting string could be quite large. If it seems reasonable to include the characters the patch can be so amended.
Thanks,
Brian
More information about the core-libs-dev
mailing list