Re:Show HN: Java 7 Features Backported to Android
by spullara on Monday May 06, 2013 @03:26AM
(#5661265)
Lambdas are in JDK 8 while Android supports JDK 6. This adds support for some of the features of JDK 7. That said, you could backport Lambda to JDK 6...
[ Parent
| on HN ]
Re:Show HN: Java 7 Features Backported to Android
by yareally on Monday May 06, 2013 @03:50AM
(#5661313)
I'm sure they can be. I'm just at a dead end for the evening and way past the time I should be programming (I was the submitter/author of the OP), thanks though for the encouragement :)
I was just going off the educated guess (without digging through the jdk8 source) that lambdas, like most other syntax features on Java, are just syntactical sugar that does not modify the underlying bytecode since jdk6 and so does not require significant code changes to get it working. Though of course I could be wrong, but I'll deal with that later on in the week.