harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexey Petrenko" <alexey.a.petre...@gmail.com>
Subject Re: Behaving differently than RI
Date Mon, 06 Nov 2006 08:32:40 GMT
2006/11/6, Spark Shen <smallsmallorgan@gmail.com>:
> 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 incompatibility is
> considered a bug, delegate to ICU development team may be more efficient.
Right.
But even if it is an ICU bug I think that it will be good to have also
Harmony JIRA entry with the link to corresponding ICU issue.

SY, Alexey

> [1] "ICU support mailing list" <icu-support@lists.sourceforge.net>

> > 2006/11/4, Mike Ringrose <mike.ringrose@gmail.com>:
> >> 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.2, while the RI outputs 17.1. The reason for the
> >> difference is that Harmony's underlying implementation is taken from ICU
> >> which supports options other than what is specified by the RI.
> >>
> >> Should this difference be considered a bug?
> >>
> >> Thanks,
> >> Mike Ringrose
> >>
> >>
> >
>
>
> --
> Spark Shen
> China Software Development Lab, IBM
>
>
Mime
View raw message