Has anybody yet backported Lambda Expressions to Java 7?

前端 未结 1 1454
忘了有多久
忘了有多久 2020-12-24 11:04

Reading about what kind of bytecode Java 8 produces from lambdas, it came to my mind the time when Java 5 was released. Back then there was Retroweaver and other tools for c

相关标签:
1条回答
  • 2020-12-24 11:23

    There is now Retrolambda for converting Java 8 bytecode, which uses lambda expressions and method references, to work on Java 7, 6 or 5. (Java 1.4 gave verify errors; did not investigate further.)

    0 讨论(0)
提交回复
热议问题