I think I found the issue. The operand stack size is wrong on SetFieldOnArgument::apply method here https://github.com/hibernate/hibernate-orm/blob/6.2/hibernate-core/src/main/java/org/hibernate/bytecode/internal/bytebuddy/BytecodeProviderImpl.java#L560 I tried to reproduce the bytecode from plain java and noticed that operand stack size 3 and in code it's 2, but I am not sure if it's correct for the case when the setter is a method and not field like in my case.
|