On Wed, 3 Dec 2025 01:40:29 GMT, Vladimir Ivanov <[email protected]> wrote:

> any captured adaptation is valid/compatible

Yes, if `vh` is a constant, any captured adaptation from 
`vh.getMethodHandle(mode).asType(symbolicMethodTypeInvoker)` is 
valid/compatible.

For thread safety, MethodHandle supports safe publication, so I think we are 
fine publishing this way.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/28585#discussion_r2583556067

Reply via email to