Regression in struct implementation causing stack overflow

Description

In Lucee version 5.3.3.54 and following, the struct implementation was changed resulting in the following code causing a stack overflow:

This code causes a stack overflow at:

While it is understandable why this causes the overflow at the `hashCode()` method, it did not in prior versions of Lucee and does not in ACF 2018.

For reference this code more closely approximates how I encountered it:

Environment

None

Status

Assignee

Michael Offner

Reporter

John Berquist

Labels

Fix versions

Affects versions

Priority

Blocker
Configure