OpenLiberty/open-liberty

Lambda expressions with try-catch blocks do not get FFDC processing

Opened this issue · 0 comments

Lambdas in Open Liberty code with try-catch blocks will not have any FFDC processing, so FFDCs will not be emitted from exceptions caught within the lambda expression.

See changes in #29092. That PR changed a lambda expression in a CheckpointPhase.onRestore() call to use an inner class instead so that FFDCs would be properly emitted.