On 11/2/2017 9:58 AM, Paul Sandoz wrote:
On 31 Oct 2017, at 11:24, Brian Goetz <brian.go...@oracle.com> wrote:

While I agree that the overflow-detecting constraint on min/max in the early 
version was too aggressive, you could reasonably choose to enforce the 
constraint that if count == 0, then so should sum, min, and max.

I’m on the fence on this one. Joe is going to follow up with another issue for 
DoubleSummaryStatistics adjusting to a varargs constructor and and may consider 
doing this at the same time.


Added a comment to record that possibility to JDK-8190517: "Allow DoubleSummaryStatistics constructor to accept additional state."

-Joe

Reply via email to