RFR: 8205184: Delegating Iterator implementations that don't delegate forEachRemaining()

Martin Buchholz martinrb at google.com
Mon Jun 25 21:50:41 UTC 2018


On Mon, Jun 25, 2018 at 11:17 AM, Paul Sandoz <paul.sandoz at oracle.com>
wrote:

> Looks good. Sometimes in these cases i reach for proxy rather than
> explicit code. It tends to be more robust to certain changes at the expense
> of reflective complexity.
>
>
Hmmm ... Never done that in a test before.


> You could probably reduce the test method names by removing the
> “forEachRemainingIsDelegated_” given that can be inferred from the class
> name.
>

test method names shortened.


More information about the core-libs-dev mailing list