RFR: JDK-8270476: Make floating-point test infrastructure more lambda and method reference friendly [v2]

Brian Burkhalter bpb at openjdk.java.net
Thu Jan 27 23:01:54 UTC 2022


On Wed, 26 Jan 2022 00:20:07 GMT, Joe Darcy <darcy at openjdk.org> 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

Approved. Minor changes noted may be at integration.

-------------

Marked as reviewed by bpb (Reviewer).

PR: https://git.openjdk.java.net/jdk/pull/7216


More information about the core-libs-dev mailing list