Hysen Labs
Open-source project
luontola/retrolambda avatar
luontola

retrolambda

GitHub describes it as Backport of Java 8's lambda expressions to Java 7, 6 and 5. The repository metadata lists Java as its primary language. The metadata lists the Apache-2.0 license. This article stays within the project description and details documented in the GitHub repository README.

3,516 stars226 forksJavaApache-2.0
01
DEEP OPEN-SOURCE ANALYSIS

luontola/retrolambda: README details

GitHub describes it as Backport of Java 8's lambda expressions to Java 7, 6 and 5. The repository metadata lists Java as its primary language. The metadata lists the Apache-2.0 license. This article stays within the project description and details documented in the GitHub repository README.

02
DEEP OPEN-SOURCE ANALYSIS

Repository scope

GitHub describes it as Backport of Java 8's lambda expressions to Java 7, 6 and 5. The repository metadata lists Java as its primary language. The metadata lists the Apache-2.0 license. The README describes the project this way: Just as there was Retroweaver et al. for running Java 5 code with generics on Java 1.4, Retrolambda lets you run Java 8 code with lambda expressions , method references and try-with-resources statements on Java 7, 6 or 5. It does this by transforming your Java 8 compiled bytecode so that it can run on an older Java runtime. After the transformation they are just a bunch of normal .class files, without any additional runtime dependencies. Read more details.

03
DEEP OPEN-SOURCE ANALYSIS

README details

The README section "README details" states: There is also limited support for backporting default methods and static methods on interfaces . This feature is disabled by default.

04
DEEP OPEN-SOURCE ANALYSIS

README details

The README section "README details" states: Retrolambda supports backporting to Java 7, Java 6 and Java 5 runtimes. And for adventurous developers there are other backporting tools that may let you go from Java 5 down to Java 1.4.

05
DEEP OPEN-SOURCE ANALYSIS

README details

The README section "README details" states: Nowadays Android Studio has built-in support for Java 8 features, so that is probably the first thing to try out. Otherwise, Retrolambda works also for Android: Serge Zaitsev has written an article about it and there is a Gradle plugin which makes it easy.

06
DEEP OPEN-SOURCE ANALYSIS

Editorial conclusion

The repository README is the source for this review. It does not replace a local installation or an independent test.

07
DEEP OPEN-SOURCE ANALYSIS

Official sources

08
Community notes

Community notes