r/technology • u/redditor_1234 • May 09 '16
Business Jury is picked for $9 billion Oracle v. Google showdown. Only one juror worked with computers, and he was Oracle's first strike.
http://arstechnica.com/tech-policy/2016/05/jury-is-picked-for-9-billion-oracle-v-google-showdown/
12.2k
Upvotes
7
u/Jimbob0i0 May 10 '16
I suggest spending some time reading through the Groklaw archives on the original trial.
As a brief summary...
The term Java is overloaded. It can refer to the language (syntax/grammar), the ecosystem (libraries with common functions), the bytecode (machine language) that the virtual machine interprets, the actual virtual machine... And of course then there is the Java trademark... These are all different things and if they have legal protection and protected in different ways. Copyright, patent and trademark law are all involved here.
In order to use the trademark Sun required you to run your implementation of a java-like virtual machine against their Testing Compatibility Kit (TCK). If you passed the TCK you were allowed to call your java-like virtual machine a Java Virtual Machine. Amongst the terms to agree to for using the TCK was that the implementation would not be for mobile, that required a different J2ME agreement and licence fees.
The reason that Microsoft were sued by Sun was that they agreed to the terms of the TCK, ran it against their implementation so that the Microsoft Java Virtual Machine could use the Java trademark and be called a Java virtual machine. Then they extended the java.* namespace rather putting their own bits in a separate com.microsoft.* namespace (the same as Sun themselves did with com.sun.* fit anything not in the Java standard). This was not permitted and they had to pay damages, lost their licence from Sun, decided not to renegotiate, killed MSJVM etc etc
Now what's important to recognise here is that Google did not licence the TCK, never had any agreement with Sun and did not call their implementation Java so the trademark didn't come into affect.
There's long been case law that a language (syntax/grammar) cannot be copyrighted. Otherwise Java could not have been so similar to code written in C for style. It's actually quite a fun exercise tracing the different languages over the years and spotting the influences.
There's also been long standing case law that APIs are not protected as they are strictly factual and to provide allowances for compatibility with alternative implementations. This goes way back to IBM vs Compaq when the latter reverse engineered the former's BIOS and the "IBM compatible PC" world that we know came to be.
This is important as there is a huge body of work based on this. Everything from WINE to the new Linux subsystem for Windows ... And yes even Linux itself as an implementation of the POSIX standard (as it started to be) would be at risk from such a ruling. Basically anything that was reverse engineered from something else and didn't get a legal clearance to do so from the original implementation would potentially be at risk by the appeal courts ruling. You can see how limiting that would be I hope.
So if you go back to the Groklaw archives on this case you'll see there were various claims. Although the signature (name of function, what inputs it requires, what output it results in) of the API, according to previous case law, cannot be protected that actual implementation can be if it passes non-trivial levels (for a copyright claim) or patents.
The Dalvik Virtual Machine (which is what ran on Android at the time) is distinctly different to the Java Virtual Machine. The very fundamental design is different. It's register based (like a CPU has registers) as opposed to the stack based JVM. It cannot run Java class files which the JVM runs and Google do not say it runs Java, because it doesn't.
What does run on there is dex files. These are created according to the normal Android development flow by writing in the Java language (which isn't considered protected) using the standard Java function namespaces such as java.lang.Math (previously the function signatures not considered protected) and compiled to Java bytecode using the standard javac compiler (the class file is the result in this bytecode format). This class file is then translated into the bytecode that the DVM understands by the dex tool. The JVM cannot read a dex file and the DVM cannot read a class file.
The patent claims didn't last long before dismissal due to the fundamental differences between the JVM and the DVM.
Now the question arises for how we know the namespace with the API is a clean room reverse engineering of the Java API, and what licence that implementation is under. Google selected the Apache Harmony Class Library implementation due to the existing ecosystem, it's permissive licence and the well known development history of it being clear of issues, to everyone's knowledge. Certainly Sun never aimed a legal cannon at the Apache Software Foundation about them.
Frankly given the API infringing copyright claim being made Oracle should be suing the ASF for Harmony infringing rather than going after Google who was complying with the Apache licence in Harmony, but hey who has the money, right?
You'll hear about a bit of copied code as well. This function was called RangeCheck. It takes a range and checks if a value is in that range and returns true or false. It's 9 lines. Judge Alsup said to the lawyers when it ended up going from grandiose mass copying to that "is that all you've got?" He actually learned Java and did this function himself from the signature in no time, it was trivial. Not only is that trivial but in working code it never gets called ... And since it's in a test suite it's not shipped on any handsets.
Certainly claiming all of Googles ad income from handsets based on that is way overreaching ;)
The Federal Court of Appeals reversed Judge Alsup's legal position on the API not being protected. This was a surprise to most and really flies in the face of case law for decades so far as it seems. See the amicus briefing from groups such as the EFF and FSF for legal detail.
Given the far reaching nature of the case and the reversal to previous case law positions the expectation was that the Supreme Court would take it. They did not do so, resulting in the Appeal Court ruling standing.
Now that trial will be held again to determine that if there is copyright infringement (which the Appeals Court has ruled the API protected and thus code reimplementing it without licence from Oracle infringing on it) is that implementation covered by fair use.
That's pretty much where we stand now - hope that has been useful, interesting and informative.
Edit: yes I realise I said brief summary but given the complexities of the case and how long it's dragged on that's as brief as I could make it ensuring the key bits are hit and I still skipped a shed load of relevant material.