Re: Update on JDK 8 builds and release candidate status

2014-02-24 Thread David P. Caldwell
Here's a bug report for b129. Mac OS X 10.8.5, although I doubt this is platform-dependent. DecimalFormatTest.java public class DecimalFormatTest { public static void main(String[] args) { System.out.println("java.version: " + System.getProperty("java.version"));

Re: Update on JDK 8 builds and release candidate status

2014-02-24 Thread Joe Darcy
Hello, You've observed a known change in behavior: JDK-7131459 [Fmt-De] DecimalFormat produces wrong format() results when close to a tie https://bugs.openjdk.java.net/browse/JDK-7131459 The new result is actually numerically correct since the text string "85.55" does not get convert

Re: Update on JDK 8 builds and release candidate status

2014-02-24 Thread David P. Caldwell
Well, I'm not an expert on floating-point standards and all of that. It may be that no other decision is possible, but I think I can predict this will confuse people. I think I'd argue for the edge case -- where the actual number being processed is the closest value to the half-way point -- to

Re: Update on JDK 8 builds and release candidate status

2014-02-24 Thread Joe Darcy
On 02/24/2014 10:28 AM, David P. Caldwell wrote: Well, I'm not an expert on floating-point standards and all of that. It may be that no other decision is possible, but I think I can predict this will confuse people. That is often unavoidable when floating-point is involved ;-) I think I'd