changeset 7421:5e47ee4d7196

5035569: Formatter should document that %a conversion unsupported for BigDecimal args Reviewed-by: darcy Contributed-by: brian.burkhalter@oracle.com
author alanb
date Fri, 01 Feb 2013 21:01:44 +0000
parents ea8f3ca83501
children cba578db5f39
files src/share/classes/java/util/Formatter.java
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/share/classes/java/util/Formatter.java	Fri Feb 01 07:25:51 2013 -0800
+++ b/src/share/classes/java/util/Formatter.java	Fri Feb 01 21:01:44 2013 +0000
@@ -351,7 +351,9 @@
  * <tr><td valign="top">{@code 'a'}, {@code 'A'}
  *     <td valign="top"> floating point
  *     <td> The result is formatted as a hexadecimal floating-point number with
- *     a significand and an exponent
+ *     a significand and an exponent. This conversion is <b>not</b> supported
+ *     for the {@code BigDecimal} type despite the latter's being in the
+ *     <i>floating point</i> argument category.
  *
  * <tr><td valign="top">{@code 't'}, {@code 'T'}
  *     <td valign="top"> date/time