Earlier quoted context omitted.
That's because, as they explicitly write: "Android follows the package and class namespace conventions defined by the Java programming language". And obviously, the names in the packages are carried over, including sun.*, and the documentation is gonna follow that -- though the official name of the runtime is Dalvik (and ART), not Java or JVM or anything like that. As I wrote, that was intentional, so that it's immed…
I think you're conflating Java the language and the Java Virtual Machine. Android does not run the JVM, it runs Dalvik and now ART. Android is going to continue to do this. But it has and will continue to use Java the language, not some language based off Java, as well. And in fact Oracle's lawsuit is about neither the language or the runtime, it's about the APIs. Yes, they were taken from Apache Harmony. Oracle insi…
Java is not the syntax, though, it's the whole specificication -- down to the bytecode.
Google just borrowed the syntax (and API).
(As did other people and projects who did "clean room" clones of Java, while not calling their product/project Java).
>And in fact Oracle's lawsuit is about neither the language or the runtime, it's about the APIs.
Yeah, that's what I wrote above: "That's just at the superficial API level though, which Oracle contested in court".