4 ms·
There is no Java inside an Android handset. Dalvik isn't Java. Dalvik bytecode isn't Java. The two Android runtimes have similar semantics to Java, but there is
by Zigurd 11y ago
There is no Java inside an Android handset. Dalvik isn't Java. Dalvik bytecode isn't Java. The two Android runtimes have similar semantics to Java, but there is no Java technology in either one. There is no JavaCompiler API in Android.
Google "uses" Java in the toolchain, for some definition of "use." But They don't sell anyone any Java. It will be tough sledding for anyone trying to show there is Java IP inside Android.
- throwawaykf05 11y agoYou certainly write Android apps using the Java API, which is Sun/Oracle IP. The argument there is no "real" Java in Android actually hurts Google's case. Because Dalvik uses non-Java byte code, these apps are not interoperable with "real" Java apps. This completely undermines some of Google's legal arguments as a defense for API copyrightability, because the cases they cited (Sega etc) explicitly held that copying certain things was OK for maintaining binary interoperability.
- Zigurd 11y ago> "You certainly write Android apps using the Java API" So Oracle should go after Eclipse and other IDEs? Or Apache Harmony? > *" This completely undermines some of Google's legal arguments as a defense for API copyrightability, because the cases they cited (Sega etc) explicitly held that copying certain things was OK for maintaining binary interoperability." That binary compatibility is required by javac, which is in the toolchain. Then the Java bytecode gets translated to Dalvik bytecode and packaged as an APK.
- throwawaykf05 11y agoOracle can go after who ever they want as long as the law allows them to. I don't see how they can target IDEs, though. IDEs don't provide the Java API. One way translation of byte code is not interoperability. Android apps cannot interoperate with "real" Java apps.
- toyg 11y ago> Dalvik isn't Java. Dalvik bytecode isn't Java. ... but all apps are "written in Java", in practice, and one could argue that Android would not have obtained such a large ecosystem without this play. This is all but admitted in Google emails from the Sun days. Whether this means Google has to somehow credit Oracle/Sun, it's for the courts to decide, and as of now, the score is 1-1, so not really clear-cut. > It will be tough sledding for anyone trying to show there is Java IP inside Android. This has already been considered in the original trial and the appeal. IIRC, a few secondary files were reused or copied verbatim at some point; regardless, Oracle's position is that the API itself is copyrightable, and as such any implementation has to acknowledge the original rights. (Note: I don't think Oracle should win, I just acknowledge that neither party really has any higher ground, moral or otherwise.)
- Zigurd 11y ago> "but all apps are "written in Java", in practice" That's not strictly true. And if it is or not, it can't be relevant. If you take a JVM language like Scala, compile it to Java bytecode, and run it on a Java(tm) runtime you downloaded from oracle.com, does Oracle have any IP rights in Scala? In the toolchain? In your code? What if you wrote it in Java? Same answers. What if you translate that code to Dalvik bytecodes? Same answers. When I say "There is no Java in Android" I mean the runtime in Android is not Java. Everything else is code that was written in Java and translated to Dalvik and runs in those runtimes that are themselves not Java. So either Oracle has IP rights all over the place, in everything that is in source code that a Java compiler compiles, or that at some point in the toolchain is in Java bytecode, including stuff like Scala, or not. Google, and Android, make and sell none of the things in which Orcale has plausible IP rights.
- toyg 11y ago> it can't be relevant That's what the courts have been asked to decide. You can argue with me until we're both dead and this will not change. > If you take a JVM language like Scala, compile it to Java bytecode, and run it on a Java(tm) runtime you downloaded from oracle.com, does Oracle have any IP rights in Scala? No. But if you build a like-for-like JVM exposing the same API calls as the official runtime, Oracle's position is that you are infringing their IP rights (unless you do stuff for binary compatibility and yadda-yadda-Sega), since your are "copying" the "intellectual work" that the API design is. At least one court agreed with them, and the US Supreme Court "refused to disagree", so it can't be so out-of-this-world as a concept. Say you design a language called Foobar, and build a great runtime for it. It gets wildly popular and you even release it as GPL. Google decides that it really likes the language, and really needs all those developers who use it, but "screw you and screw the GPL": they implement a brand new runtime that will run your Foobar programs mostly unchanged. They refuse to acknowledge any of your work and will not work with you on anything -- it's not Foobar anymore, it's "Googlebaz". Wouldn't you be a bit pissed off? Isn't that actually copying stuff? Unfortunately, this sort of "emulation" is often necessary in our industry, and for the best of reasons; now, just because Google acted like total assholes (note how they made their choice when Sun was still alive -- I strongly doubt they would have done it with Ellison on the other side), we risk losing the right to it.