luontola/retrolambda

Eclipse JDT compiler incompatiblity

luontola opened this issue · 0 comments

Eclipse JDT compiler produces lambda implementation methdos which are named lambda$0 whereas javac names them lambda$methodName$0. Retrolambda fails to process such methods:

Exception in thread "main" java.lang.IllegalAccessError: tried to access method LambdaTest.lambda$0(Ljava/lang/Long;)Ljava/lang/String; from class LambdaTest$$Lambda$1

(Reported by Honza Rameš via email)