Re: Behaving differently than RI

2006-11-06 Thread Mike Ringrose
ICU would not see this as a bug, because it is a feature of their implementation of DecimalFormat. The pattern ".1" for ICU means to round the value to the nearest tenth, while the RI takes it literally. If you look at the JavaDocs for ICU, you'll see the following message: *This is an enhanced v

Re: Behaving differently than RI

2006-11-06 Thread Spark Shen
Alexey Petrenko 写道: 2006/11/6, Spark Shen <[EMAIL PROTECTED]>: Alexey Petrenko 写道: > Hi, Mike. > > You can find compatybility guideline for Harmony here: > http://incubator.apache.org/harmony/subcomponents/classlibrary/compat.html > > > According to your testcase. I think it is a bug and you

Re: Behaving differently than RI

2006-11-06 Thread Alexey Petrenko
2006/11/6, Spark Shen <[EMAIL PROTECTED]>: Alexey Petrenko 写道: > Hi, Mike. > > You can find compatybility guideline for Harmony here: > http://incubator.apache.org/harmony/subcomponents/classlibrary/compat.html > > > According to your testcase. I think it is a bug and you should file it > to JIRA

Re: Behaving differently than RI

2006-11-05 Thread Spark Shen
Alexey Petrenko 写道: Hi, Mike. You can find compatybility guideline for Harmony here: http://incubator.apache.org/harmony/subcomponents/classlibrary/compat.html According to your testcase. I think it is a bug and you should file it to JIRA. AFAIK, ICU has its own mailing list[1]. If that inc

Re: Behaving differently than RI

2006-11-04 Thread Geir Magnusson Jr.
Mike Ringrose wrote: Before submitting a bug to JIRA, I was curious to know, how exact should Harmony behave when compared to the RI. For example, the code below produces different results when compared to the RI. DecimalFormat f = new DecimalFormat(".1"); System.out.println(f.format(17.

Re: Behaving differently than RI

2006-11-03 Thread Alexey Petrenko
Hi, Mike. You can find compatybility guideline for Harmony here: http://incubator.apache.org/harmony/subcomponents/classlibrary/compat.html According to your testcase. I think it is a bug and you should file it to JIRA. SY, Alexey 2006/11/4, Mike Ringrose <[EMAIL PROTECTED]>: Before submittin

Behaving differently than RI

2006-11-03 Thread Mike Ringrose
Before submitting a bug to JIRA, I was curious to know, how exact should Harmony behave when compared to the RI. For example, the code below produces different results when compared to the RI. DecimalFormat f = new DecimalFormat(".1"); System.out.println(f.format(17.16)); Harmony outputs 17.