On Wed, 26 Jan 2022 00:20:07 GMT, Joe Darcy <[email protected]> wrote:
>> Update the java.lang.{Math, StrictMath} regression test helper library to
>> accept method references. This allows the test programs to be DRY-er as the
>> inputs to the method under test don't have to be repeated. The float test
>> method were not updated due to limitations in type inference if both float
>> and double methods with functional interface parameters are present.
>>
>> Also did some general tidying up for the test code.
>
> Joe Darcy has updated the pull request with a new target base due to a merge
> or a rebase. The incremental webrev excludes the unrelated changes brought in
> by the merge/rebase. The pull request contains six additional commits since
> the last revision:
>
> - Use consistent syntax for main method.
> - Merge branch 'master' into JDK-8270476
> - Appease jcheck.
> - Further refactoring.
> - Update copyright year, remove author tags.
> - JDK-8270476: Make floating-point test infrastructure more lambda and
> method reference friendly
test/jdk/java/lang/Math/Tests.java line 24:
> 22: */
> 23:
> 24: import java.util.function.*;
List all interfaces instead of "*"?
-------------
PR: https://git.openjdk.java.net/jdk/pull/7216