retrolambda
retrolambda copied to clipboard
Backport of Java 8's lambda expressions to Java 7, 6 and 5
Previously, we were OK getting any JDK version from the build context. This breaks the Maven plugin when executing with a too new Java version (e.g., 20). Filter through the...
Unlike many other Maven plugins, retrolambda-maven-plugin currently lacks an option to programmatically skip execution via property. This complicates the workflow in certain envrionments. Add a configuration option "skip", which is...
In certain environments that build multirelease jars, the Maven "classes" directory contains class files with newer Java versions, whereas the Java 8 versions are stored elsewhere. Add a boolean "fixJava8Classpath"...
Previously, we required Java 1.6 to compile (a corresponding entry had to be made in ~/.m2/toolchains.xml), however the code already required try-with-resources (HelpMojo). Bump source code compatibility to Java 1.8,...
This is an odd one @dkulp identified and @reta found out. When we switched to JDK 14, generated code could claim a dependency on jdk.internal.vm.annotation due to the `Hidden` annotation....
Unfortunately, I'm failing to use JDK 15 even though JDK 14 is fine now. ``` [exec] Java HotSpot(TM) 64-Bit Server VM warning: Sharing is only supported for boot loader classes...
Previously, we would only swallow "addSuppressed" (for Java 6 or older) if the owner was "java/lang/Throwable". However, addSuppressed may have been overriden by other exceptions. Catch all methods named "addSupressed"...
Previously, for target 1.6 and older, we were only replacing Objects.requireNonNull(Object) with Object.getClass, not Objects.requireNonNull(Object,String). Map both to Object.getClass, which seems to work.
In a multirelease-jar environment, there could be classes under META-INF/versions, which retrolambda would try to translate. As per definition, these are Java classes newer than Java 1.8, so they shouldn't...
Hi. I am trying to [upgrade Bck2Brwsr VM](https://github.com/jtulach/bck2brwsr/commit/3a5bb2a73cbed6edfa5593b9415584b3f7ab96d9) usage of Retrolamda from 2.1.0 to 2.5.7. I am facing problems. Bck2Brwsr doesn't need help with default methods, only with lambdas. Looks...