On Wed, 26 Jun 2024 06:53:28 GMT, Adam Sotona <asot...@openjdk.org> wrote:

> Conversion of `java.lang.invoke` package to Class-File API is failing to 
> execute method handles with specific type conversion requirements. Root cause 
> is in the new `TypeConvertingMethodAdapter::primitiveTypeKindFromClass` 
> implementation. Original code has been matching the types by hash code and it 
> mistakenly appeared to be matching the primitive types.
> 
> This patch fixes `TypeConvertingMethodAdapter::primitiveTypeKindFromClass` 
> and adds tests to better cover `TypeConvertingMethodAdapter` functionality.
> 
> Please review.
> 
> Thanks,
> Adam

Thank you for the review.

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

PR Comment: https://git.openjdk.org/jdk/pull/19898#issuecomment-2199936345

Reply via email to