Streams milestone

Brian Goetz brian.goetz at oracle.com
Tue May 7 16:46:38 PDT 2013


With

changeset:   7058:6feee75b0a8b
summary:     8012664: Add tests for java.util.stream and lambda translation

we now have the lion's share of the java.util.stream code and tests put 
back into the JDK8 repositories (16+ KLoC of new code and 15+ KLoC of 
new tests, with nearly 100% coverage)*.  Various loose ends remain, but 
we're over the hump of getting the streams libraries into the JDK!

Thanks to all who have put in a huge effort over these last weeks to get 
all these changesets prepared, staged, reviewed, and pushed.



* Some may find this ratio of code to tests surprisingly lean; usually I 
would generally expect to see closer to 2:1 or 3:1 of test code to 
tested code.  A few factors are in play here.  A significant fraction of 
the new code is comment and specification.  Also lambda was part of the 
testing success story; we used lambdas extensively in the test 
framework, which had the effect of giving us a lot of coverage for less 
code.



More information about the lambda-dev mailing list