[jdk17u-dev] RFR: 8280377: MethodHandleProxies does not correctly invoke default methods with varags

María Arias de Reyna duke at openjdk.org
Fri Mar 1 09:28:56 UTC 2024


On Mon, 26 Feb 2024 12:52:28 GMT, María Arias de Reyna <duke at openjdk.org> wrote:

> This is a backport of https://bugs.openjdk.org/browse/JDK-8280377 MethodHandleProxies does not correctly invoke default methods with varags
> 
> I applied the same fix that was applied to version 19 in https://github.com/openjdk/jdk/commit/a183bfb436a7dd998e602c2d16486e88c390fca1

The commit contains a test for the different ways of calling a method with varargs: https://github.com/openjdk/jdk17u-dev/pull/2235/files#diff-41008904ed7aa596f5de5930e082a8cf6b239603883818fa940bb04ff511455aR65-R68

But I understand this may be a "too simple" example.

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

PR Comment: https://git.openjdk.org/jdk17u-dev/pull/2235#issuecomment-1972824178


More information about the jdk-updates-dev mailing list