On 06/08/2018 22:05, Krishna Addepalli wrote:
Hi Sergey,AFAIK, lambdas are syntactic sugar for anonymous inner classes, so I think using a lambda may not help.
No, lambdas are implemented differently. BTW I think it can be simplified in the same way as in this fix: https://bugs.openjdk.java.net/browse/JDK-8175968 http://hg.openjdk.java.net/jdk10/master/rev/147cb4cf2556 -- Best regards, Sergey.