3 ms·
If only they hadn't sued Google, Java would still have been the pre-eminent language for Android development. Sadly Android is stuck at legacy Java 8 permanentl
by lenkite 5y ago
If only they hadn't sued Google, Java would still have been the pre-eminent language for Android development. Sadly Android is stuck at legacy Java 8 permanently now. So, modern Java is stuck as a server-side language with dozens of competitors.
- exikyut 5y agoSo thaaaat's the reason for the all-in focus on Kotlin... ooohh. Where can I read more about the version freeze? :(
- lenkite 5y agoCovered in articles from earlier in the decade: https://in.pcmag.com/google-io/114595/google-is-moving-android-away-from-its-oracle-java-problems-with-kotlin https://in.pcmag.com/google-io/114595/google-is-moving-andro...
- mike_hearn 5y agoNo, Android has upgraded to Java 11: https://developer.android.com/studio/releases/gradle-plugin#java-11 https://developer.android.com/studio/releases/gradle-plugin#... ... which up until a few months ago was the last LTS. So they're fairly up to date by now.
- pjmlp 5y agoKind of, that is a subset of Java 11, don't expect everything that is on OpenJDK 11 LTS to work on Android.
- lenkite 5y agoMost of the libraries of Java 11 are not available. Basic stuff like the Java 11 HTTP client. Pseudo compatibility. And this only happened because the new Gradle needed Java 11. They just did enough to make the new Gradle work. Android Java will not pass the Java 11 test suite.
- pjmlp 5y agoThat is how they do their sales pitch about "supporting" Java, as most devs don't care about the details, they just take it as Google being "good".
- pjmlp 5y agoThey did right, Android Java is a mess.