Seo Sanghyeon wrote:
With today's CVS Kaffe:

import java.util.Locale;
import java.text.NumberFormat;

public class test {
    public static void main(String args[]) {
        NumberFormat.getInstance(Locale.ENGLISH);
    }
}

I get:

java.lang.IllegalArgumentException: The specified country code is invalid
   at java.util.Currency.<init> (Currency.java:171)
   at java.util.Currency.getInstance (Currency.java:262)
   at java.text.DecimalFormatSymbols.<init> (DecimalFormatSymbols.java:151)
   at java.text.NumberFormat.computeInstance (NumberFormat.java:327)
   at java.text.NumberFormat.getNumberInstance (NumberFormat.java:456)
   at java.text.NumberFormat.getInstance (NumberFormat.java:381)
   at test.main (test.java:6)

Debian unstable Kaffe is okay.

Thanks for the bug report, Seo! I've checked with today's CVS, and the bug is fixed now.


cheers,
dalibor topic

_______________________________________________
kaffe mailing list
kaffe@kaffe.org
http://kaffe.org/cgi-bin/mailman/listinfo/kaffe

Reply via email to