Re:JEP 295: Ahead-of-Time Compilation
by gleenn on Thursday October 27, 2016 @03:16PM
(#12808692)
Android and Oracle's Java have been diverged for quite a while. There aren't any Java 8 features available to Android now, so you sadly shouldn't hold your breath for any Java 9 features either, it will probably be a long, long time.
[ Parent
| on HN ]
Re:JEP 295: Ahead-of-Time Compilation
by ChemicalWarfare on Thursday October 27, 2016 @03:44PM
(#12809082)
>>There aren't any Java 8 features available to Android now
that is incorrect. https://developer.android.com/guide/platform/j8-jack.html
Just plopped this into my activity to make sure: someList.stream().map(String::toUpperCase).forEach(System.out::println);
As long as minSdkVersion is 24 or higher you should be good.
Except it doesn't work and is full of bugs.
https://www.reddit.com/r/androiddev/comments/59gcr9/who_is_u...