RFR [8037866] Replace the Fun class in tests with lambdas

Ivan Gerasimov ivan.gerasimov at oracle.com
Mon Jun 2 07:27:21 UTC 2014


Thank you Martin for review!

On 02.06.2014 8:36, Martin Buchholz wrote:
> Thanks!  Looks good.
> There might be more common infrastructure to take advantage of later.
> @FunctionalInterface is not really in the spirit of my super-compact 
> stylistically odd test code, but OK.
>
I'll remove the annotation to keep the spirit :)

Sincerely yours,
Ivan

>
>
> On Sun, Jun 1, 2014 at 5:57 PM, Ivan Gerasimov 
> <ivan.gerasimov at oracle.com <mailto:ivan.gerasimov at oracle.com>> wrote:
>
>     Hello!
>
>     Would you please help review the fix, which replaces the auxiliary
>     Fun class with the same named functional interface?
>     The anonymous classes instantiations are replaced with lambdas.
>
>     BUGURL: https://bugs.openjdk.java.net/browse/JDK-8037866
>     WEBREV: http://cr.openjdk.java.net/~igerasim/8037866/0/webrev/
>     <http://cr.openjdk.java.net/%7Eigerasim/8037866/0/webrev/>
>
>     Sincerely yours,
>     Ivan
>
>




More information about the core-libs-dev mailing list