|
From: | gnu_andrew at member dot fsf dot org |
Subject: | [Bug classpath/31895] setCurrency(Currency) does not actually change the currency. |
Date: | 17 Aug 2008 22:33:42 -0000 |
------- Comment #4 from gnu_andrew at member dot fsf dot org 2008-08-17 22:33 ------- CVSROOT: /sources/classpath Module name: classpath Changes by: Andrew John Hughes <gnu_andrew> 08/08/17 22:31:56 Modified files: . : ChangeLog java/text : DecimalFormat.java DecimalFormatSymbols.java java/util : Currency.java Log message: Fix setCurrency in DecimalFormat. 2008-08-17 Andrew John Hughes <address@hidden> PR classpath/31895: * java/text/DecimalFormat.java: (setCurrency(Currency)): Update prefixes and suffixes when currency changes. * java/text/DecimalFormatSymbols.java: (DecimalFormatSymbols(Locale)): Set locale earlier so it can be used by setCurrency(Currency). (setCurrency(Currency)): Set the symbol correctly using the locale of the instance. * java/util/Currency.java: Throw error instead of just printing a message. CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs/classpath/ChangeLog?cvsroot=classpath&r1=1.9694&r2=1.9695 http://cvs.savannah.gnu.org/viewcvs/classpath/java/text/DecimalFormat.java?cvsroot=classpath&r1=1.36&r2=1.37 http://cvs.savannah.gnu.org/viewcvs/classpath/java/text/DecimalFormatSymbols.java?cvsroot=classpath&r1=1.24&r2=1.25 http://cvs.savannah.gnu.org/viewcvs/classpath/java/util/Currency.java?cvsroot=classpath&r1=1.19&r2=1.20 -- gnu_andrew at member dot fsf dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31895
[Prev in Thread] | Current Thread | [Next in Thread] |