On Tue, 25 Jan 2022 21:40:15 GMT, Joe Darcy <da...@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 <da...@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