Compiled elvis operator does not work correctly when default value is a complex expression [SPR-17214] #21747
Following exception raised when I execute
If I change expression to
Affects: 4.3.18, 5.0.8
Backported to: 4.3.19
The text was updated successfully, but these errors were encountered:
Andy Clement commented
I have a fix for the first issue:
which caused the AIOOBE in Frame.merge() - we were not correctly entering a new compilation scope for the second part (the record.put) - this caused it to fail to put an object on the stack through which to access record.
However, I can't recreate the second issue yet:
As that just works for me. Can you tell me the return type of your put() method - is record just a normal Map?