RFR 8214761 : Bug in parallel Kahan summation implementation

2018-12-09 Thread Ivan Gerasimov
Hello! DoubleSummaryStatistics takes advantage of Kahan summation algorithm to reduce the error of the total sum. Internally it maintains a field double sumCompensation, which keeps lower bits (which were rounded off) of the last addition. Note, that the compensation has to be subtracted fr

Re: Add convenience collect methods to the Stream interface

2018-12-09 Thread James Roper
Just wanted to put my hand up to say that I have had the same experience, more than 50% of the time that I've used JDK8 streams I've used .collect(Collectors.toList()). But, as a counter point, let me speculate that many or most uses of streams fall into two broad use cases. One is for actual stre

Add convenience collect methods to the Stream interface

2018-12-09 Thread Rob Griffin (rgriffin)
Hi, I have raised an enhancement request (Incident Report 913453) about adding some convenience methods to the Stream interface that collect the stream and Pallavi Sonal asked me to start a thread here about that. More than 50% of our Stream collect calls use Collectors.toList() or Collectors

Re: RFR: 8215048: Some classloader typos

2018-12-09 Thread Alan Bateman
On 08/12/2018 17:55, Martin Buchholz wrote: This is all I got for jdk12: https://cr.openjdk.java.net/~martin/webrevs/jdk/classloader-typos/ https://bugs.openjdk.java.net/browse/JDK-8215048 Looks okay.

Re: RFR: 8212703: Remove sun.java2d.fontpath property from java launcher code

2018-12-09 Thread Philip Race
Here is an update with a Java-only test, using ProcessBuilder. http://cr.openjdk.java.net/~prr/8212703.1/index.html -phil. On 12/1/18, 9:27 AM, Alan Bateman wrote: On 30/11/2018 23:11, Roger Riggs wrote: Hi Phil, That looks fine. Too bad it introduces a new shell test, we're trying to get