Open ligi opened 9 years ago
That is correct, it only works for your source code, all libraries must be java 6/7. In theory it could process libraries by scanning for java 8 jars, unpacking them, running them through retrolambda, packing them back up, then depending on the processed jar instead. However, none of this is implemented and would take a bit of work.
thanks for the fast information and your work in general!
Did the new plugin with transform api solve this problem? Will the transform be applied to the external jar files' .class files?
A library I am using is switching to java-8 - so I thought I use retro-lambda to work around this. Unfortunately it does not seem to work.
A bit more background here: https://github.com/ethereum/ethereumj/issues/184
I have the feeling that retro-lambda only works for classes that are in the project - not for ones coming from libraries. Is this correct? If so - is it possible to also work for the libraries used?