Integrated: JDK-8270476: Make floating-point test infrastructure more lambda and method reference friendly

Joe Darcy darcy at openjdk.java.net
Thu Jan 27 23:01:55 UTC 2022


On Tue, 25 Jan 2022 21:40:15 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.

This pull request has now been integrated.

Changeset: 40a2ce20
Author:    Joe Darcy <darcy at openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/40a2ce20334207b542d18f52e26bf418bf29c9ca
Stats:     467 lines in 27 files changed: 121 ins; 147 del; 199 mod

8270476: Make floating-point test infrastructure more lambda and method reference friendly

Reviewed-by: bpb

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

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


More information about the core-libs-dev mailing list