David Brunow
07/10/2025, 6:24 PMbnorm
07/10/2025, 7:56 PMMySealedClass.One
singleton, the outer class needs to be loaded as well, which triggers the initialization of TEST_LIST
, which causes a cycle. Based on the information in the other ticket, I suspect your list actually contains a null
value as the first element, which doesn't match any of the when
branches.David Brunow
07/10/2025, 8:25 PMDavid Brunow
07/10/2025, 8:28 PMnull
, as you suspected.