Hi Jochen, Thanks a lot for your detailed explanation block by block!
> If you use the Closure code, then variables used in Closures are marked > as Reference even if they are only read According to your suggestion, I've fixed the loading variable issue[1] :-) Thanks for your help again! Cheers, Daniel.Sun [1] https://github.com/apache/groovy/blob/8616d8967d847026102de999e50deaae1bdfc444/src/main/java/org/codehaus/groovy/classgen/asm/sc/StaticTypesLambdaWriter.java#L115-L131 -- Sent from: http://groovy.329449.n5.nabble.com/Groovy-Dev-f372993.html