Re: RFR: 8000975: (process) Merge UNIXProcess.java.bsd & UNIXProcess.java.linux (& .solaris & .aix)

2014-05-04 Thread Peter Levart
Hi Alan, Martin, Thanks for reviews. I have prepared another webrev based on your feedback: http://cr.openjdk.java.net/~plevart/jdk9-dev/UNIXProcess/webrev.08/ Comments inline... On 04/30/2014 05:17 PM, Alan Bateman wrote: I reviewed previous rounds and you've addressed my points so I think I

Re: RFR: 8000975: (process) Merge UNIXProcess.java.bsd & UNIXProcess.java.linux (& .solaris & .aix)

2014-05-04 Thread Peter Levart
On 05/04/2014 12:12 PM, Peter Levart wrote: Hi Alan, Martin, Thanks for reviews. I have prepared another webrev based on your feedback: http://cr.openjdk.java.net/~plevart/jdk9-dev/UNIXProcess/webrev.08/ Ah, I've forgotten to mention the most important change from webrev.07. Original code

DecimalFormat rounding changes in 8 (JEP 177)?

2014-05-04 Thread solo-java-core-libs
Hey, Could someone please help me understand what changes have happened in rounding in DecimalFormat in Java 8? new DecimalFormat("0.00").format(1.035) is 1.04 on Java 7, and 1.03 on Java 8. (7u25-2.3.10-1~deb7u1, openjdk build 1.8.0_05-b13 debian and Oracle build 1.8.0-b132 win64 tested). My u

Re: DecimalFormat rounding changes in 8 (JEP 177)?

2014-05-04 Thread Joe Darcy
Hello, On 5/4/2014 9:56 AM, solo-java-core-l...@goeswhere.com wrote: Hey, Could someone please help me understand what changes have happened in rounding in DecimalFormat in Java 8? new DecimalFormat("0.00").format(1.035) is 1.04 on Java 7, and 1.03 on Java 8. (7u25-2.3.10-1~deb7u1, openjdk bu

Re: DecimalFormat rounding changes in 8 (JEP 177)?

2014-05-04 Thread Louis Wasserman
What does new BigDecimal(1.035).toString() print? I suspect your issue is related to the fact that 1.035 is not, in fact, the value represented as a double; new DecimalFormat("0.00").format(1.035) formats the closest value representable as a double to the exact value 1.035. Louis Wasserman wasser

RFR: JDK-8042369 Remove duplicated java.time classes in build.tools.tzdb

2014-05-04 Thread Xueming Shen
Hi Please help review the change for #8042369 Issue: https://bugs.openjdk.java.net/browse/JDK-8042369 Webrev: http://cr.openjdk.java.net/~sherman/8042369/webrev In jdk8 we had to duplicate dozen java.time classes in build.tools to build the timezone data for the new JSR310 timezone data compil

Re: DecimalFormat rounding changes in 8 (JEP 177)?

2014-05-04 Thread olivier.lagn...@oracle.com
Hello, On 04/05/2014 20:41, Joe Darcy wrote: Hello, On 5/4/2014 9:56 AM, solo-java-core-l...@goeswhere.com wrote: Hey, Could someone please help me understand what changes have happened in rounding in DecimalFormat in Java 8? new DecimalFormat("0.00").format(1.035) is 1.04 on Java 7, and 1.0