[11] RFR JDK-8194554: filterArguments runs multiple filters in the wrong order

mandy chung mandy.chung at oracle.com
Wed Jan 17 16:50:24 UTC 2018


Webrev:
http://cr.openjdk.java.net/~mchung/jdk11/webrevs/8194554/webrev.00/

This fixes a mismatch between the specification and implementation.
If MethodHandles.filterArguments is used to apply two or more non-null
filters to a method handle, those filters will be run in right-to-left
order in the current implementation whereas the javadoc indicates that
these filters are run in normal argument order, left-to-right.

Mandy


More information about the core-libs-dev mailing list