johan at lodgon.com
Fri May 2 09:43:41 UTC 2014
I was able to refactor all lambda's out of the class files of jfxrt.jar
using RetroLambda 1.1.5-SNAPSHOT.jar (after adding the eclipse swt jar to
the classpath and removing jfxrt.jar from the bootclasspath).
This means that the builds for platforms that don't support invokedynamic
should be able to work with the OpenJFX code base.
I'll try to add the retrolambda gradle plugin somehow in the openjfx gradle
system. As I'm not an expert with gradle, some help would be appreciated.
At this moment, I simply unzipped the jfxrt.jar, removed the jfxrt.jar from
the lib/ext directory in the Java 8 install, and executed
-Dretrolambda.outputDir=retroclass -javaagent:retrolambda.jar -jar
It should be possible to optionally do this retrocompiling task during the
build of OpenJFX. In my JavaFX-Android applications, I use
gradle-retrolambda as follows:
apply plugin: 'retrolambda'
More information about the openjfx-dev