25 Jun
2018
25 Jun
'18
6:17 p.m.
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. You could probably reduce the test method names by removing the “forEachRemainingIsDelegated_” given that can be inferred from the class name. Paul.
On Jun 21, 2018, at 8:06 PM, Martin Buchholz <martinrb@google.com> wrote:
8205184: Delegating Iterator implementations that don't delegate forEachRemaining() http://cr.openjdk.java.net/~martin/webrevs/jdk/delegate-forEachRemaining/ https://bugs.openjdk.java.net/browse/JDK-8205184