Re: RFR: 8338406: BytecodeHelpers using wrong bootstrap method descriptor for condy

2024-08-15 Thread Adam Sotona
On Wed, 14 Aug 2024 17:07:21 GMT, Chen Liang wrote: > `BytecodeHelpers.handleConstantDescToHandleInfo` is incorrectly using > `DirectMethodHandleDesc.invocationType`, which accidentally works for static > bootstrap methods so it's discovered only now with more extensive testing > from bytebudd

RFR: 8338406: BytecodeHelpers using wrong bootstrap method descriptor for condy

2024-08-14 Thread Chen Liang
`BytecodeHelpers.handleConstantDescToHandleInfo` is incorrectly using `DirectMethodHandleDesc.invocationType`, which accidentally works for static bootstrap methods so it's discovered only now with more extensive testing from bytebuddy. Cleaned up by reusing the correct `handleDescToHandleInfo`