changeset 14020 | b17c22caa38c |
parent 14015 | f771d5fb3b27 |
child 15260 | 7af2d7a87806 |
--- a/jdk/src/share/classes/java/text/DecimalFormat.java Wed Oct 03 09:03:53 2012 +0100 +++ b/jdk/src/share/classes/java/text/DecimalFormat.java Thu Oct 04 11:36:22 2012 +0900 @@ -3694,7 +3694,10 @@ if (serialVersionOnStream < 4) { setRoundingMode(RoundingMode.HALF_EVEN); + } else { + setRoundingMode(getRoundingMode()); } + // We only need to check the maximum counts because NumberFormat // .readObject has already ensured that the maximum is greater than the // minimum count.