Hi, This is a fix for a silly regression introduced with JDK-8067969 (optimized count operations) that i should have caught in review.
http://cr.openjdk.java.net/~psandoz/jdk9/JDK-8075230-count-prims-shape/webrev/ The count operations for int, long and double incorrectly declare a stream shape of reference. This causes tests to fail when assertions are enabled. Thanks, Paul.