299121 tags +patch Here is a patch to fix this problem. This would close the following RC bugs: #297665, #299125
--- sablevm-classlib-1.1.9/java/text/DecimalFormatSymbols.java 2005-01-20
10:27:39.000000000 -0500
+++ sablevm-classlib-1.1.9-fixed/java/text/DecimalFormatSymbols.java
2005-03-12 14:38:50.000000000 -0500
@@ -389,13 +389,15 @@
* code to the values obtained from the supplied currency.
*
* @param currency the currency from which to obtain the values.
- * @throws NullPointerException if the currency is null.
*/
public void setCurrency (Currency currency)
{
this.currency = currency;
- intlCurrencySymbol = currency.getCurrencyCode();
- currencySymbol = currency.getSymbol();
+ if( currency != null )
+ {
+ intlCurrencySymbol = currency.getCurrencyCode();
+ currencySymbol = currency.getSymbol();
+ }
}
/**
signature.asc
Description: This is a digitally signed message part

