JDK 9 RFR of 8067669: Documentation for methods in Number incomplete regarding too large values.

Brian Burkhalter brian.burkhalter at oracle.com
Fri Jan 16 22:55:28 UTC 2015


On Jan 8, 2015, at 7:13 AM, Andreas Lundblad <andreas.lundblad at oracle.com> wrote:

> Although I was the one who brought it up, I think the whole Comparator<Number> discussion is slightly off topic. I still think that explicitly mentioning rounding and truncation is a bit confusing, as even the JDK implementations resort to other methods.

I don’t think we quite agreed on the resolution of this issue. I don’t have a strong opinion about it, but I do think it should be resolved either as Fixed or Not An Issue.

One alternative which removes the seemingly contentious verbiage is here:

http://cr.openjdk.java.net/~bpb/8067669/webrev.01/

Note that the change at line 40 should be made even if the other diffs are rejected.

Thanks,

Brian


More information about the core-libs-dev mailing list