logoalt Hacker News

cogman10yesterday at 7:43 PM1 replyview on HN

A little bit of all of the above.

Android's usage of Java started right as Sun was being acquired by oracle and right before the jdk was GPLed.

... And I'll be. Apparently Android is using the OpenJDK since Android 7. [1]

[1] https://en.wikipedia.org/wiki/Android_Nougat


Replies

pjmlpyesterday at 7:58 PM

It isn't, check Gerrit commit history, they only take bits and pieces, plus ART doesn't do all bytecode equivalents. Some JVM bytecode don't have counterparts in Dex, rather get desugared into multiple instructions.