I compiled my first lambda expression (function literal) using javac from 
OpenJDK 8, and it was very nice. However, we have many (more than a 
thousand) clients who are still living with JRE 5, and I don't want to drop 
support for them or force them to upgrade.  I tried specifying -target 1.5, 
but it said targeting 1.5 was not supported if lambda expressions were in 
the code.  Do you know of any ways I will be able to use lambda expressions 
in Java and still being able to accommodate my 1.5 clients?  I recall 
something from years ago called RetroWeaver that let you use 1.5 features 
(generics, boxing) and back-compile to run on 1.4 runtime.  Are there any 
equivalent tools that will let me use Java 1.7 on 1.5 runtime?  Or do you 
know any other ways around this?

Thanks!
Sam

-- 
You received this message because you are subscribed to the Google Groups "The 
Java Posse" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/javaposse/-/mncTZ2GGz6cJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/javaposse?hl=en.

Reply via email to