News for hackers. Stuff that matters.
Re:Oracle Adds New Android Versions to Copyright Battle with... by andyjohnson0 on Thursday August 13, 2015 @07:34AM (#10053404)
Almost anyone who cares about this lawsuit is automatically someone whose opinions don't matter to Oracle. Oracle only cares about executives at large orgs with large budgets to spend on Oracle's enterprise software. And those people don't care about Java or Oracle's reputation among people outside their community.

To understand Oracle's motivations it is necessary to review what Bryan Cantrill said about the company:

"As you know people, as you learn about things, you realize that these generalizations we have are, virtually to a generalization, false. Well, except for this one, as it turns out. What you think of Oracle, is even truer than you think it is. There has been no entity in human history with less complexity or nuance to it than Oracle. And I gotta say, as someone who has seen that complexity for my entire life, it’s very hard to get used to that idea. It’s like, ‘surely this is more complicated!’ but it’s like: Wow, this is really simple! This company is very straightforward, in its defense. This company is about one man, his alter-ego, and what he wants to inflict upon humanity — that’s it! …Ship mediocrity, inflict misery, lie our asses off, screw our customers, and make a whole shitload of money. Yeah… you talk to Oracle, it’s like, ‘no, we don’t fucking make dreams happen — we make money!’ …You need to think of Larry Ellison the way you think of a lawnmower. You don’t anthropomorphize your lawnmower, the lawnmower just mows the lawn, you stick your hand in there and it’ll chop it off, the end. You don’t think ‘oh, the lawnmower hates me’ — lawnmower doesn’t give a shit about you, lawnmower can’t hate you. Don’t anthropomorphize the lawnmower. Don’t fall into that trap about Oracle." [1]

Nothing that Oracle does makes sense without understanding this.

[1] https://www.youtube.com/watch?v=-zRN7XLCRhc&t=33m

Re:Oracle Adds New Android Versions to Copyright Battle with... by simi_ on Thursday August 13, 2015 @07:38AM (#10053415)
For me this just puts into perspective how much it sucks to have Java as the language powering Android. Would a rewrite in (say) Go even be possible? I guess you could machine translate a lot of boring stuff like support for a gazillion devices, and the memory footprint savings would be quite substantial.
Re:Oracle Adds New Android Versions to Copyright Battle with... by bad_user on Thursday August 13, 2015 @07:51AM (#10053455)
Oracle tried their hand with copyright infringement, because copyright is far stronger than anything else that's IP-related. However, here's the thing:

1. Oracle is basically arguing about APIs being copyrightable and if APIs are deemed to be copyrightable, we're fucked as an industry ;-)

2. Oracle, because of the Sun acquisition, has many, many interesting patents related to programming languages and virtual machines. Consider that Sun was involved in the research for making Smaltalk VMs fast and they also developed Self. The IP for all the fancy techniques used in Java's HotSpot VM? Well Sun owned it. Do you think Go is safe because it's not based on Java, or because it doesn't have a Java-like VM? Think again, at the very least it has a garbage collector ;-)

Thing is, if Google would have cloned OpenJDK, they would have been safe because of the GPL license. But they didn't, they used Apache Harmony instead, a project that never passed the Java TCK because Sun never allowed it to.

Re:Oracle Adds New Android Versions to Copyright Battle with... by noir_lord on Thursday August 13, 2015 @09:34AM (#10054001)
> 1. Oracle is basically arguing about APIs being copyrightable and if APIs are deemed to be copyrightable, we're fucked as an industry ;-)

In the US, in Europe where we are somewhat more sane on this issue I'd look forward to a boom in software development the like of which we've never seen.

The implications for the US software industry are pretty horrify though, it makes software patents look mild.

Re:Oracle Adds New Android Versions to Copyright Battle with... by fauigerzigerk on Thursday August 13, 2015 @10:42AM (#10054542)
Why a boom in software development?
Re:Oracle Adds New Android Versions to Copyright Battle with... by toyg on Thursday August 13, 2015 @10:56AM (#10054653)
parent thinks the industry will flee to safer European shores, because the local legal climate is much more liberal than the US when it comes to software (for example, patent trolls are very rare over here).

In practice this is unlikely for a number of reasons, in particular the fact that Europe is way too expensive for the industry that spearheaded third-world "offshoring".

Re:Oracle Adds New Android Versions to Copyright Battle with... by fauigerzigerk on Thursday August 13, 2015 @11:24AM (#10054896)
It's not just unlikely, it's completely nonsensical from a legal perspective. If Google's Android division were located in Europe, that would make zero difference for their legal fight against Oracle.

The only way to avoid US law is to not trade in the US at all, otherwise someone should have told Samsung and SAP before they paid hundereds of millions to Apple and Oracle respectively.

Re:Oracle Adds New Android Versions to Copyright Battle with... by noir_lord on Thursday August 13, 2015 @11:16AM (#10054825)
That would be the case except if you where a US software company fleeing a legislative climate that made it hard to do business are you going to put your HQ/major business units in Berlin/Paris or a third-world country.

These are large primarily sales driven organizations so first world transport links and infrastructure matter.

Re:Oracle Adds New Android Versions to Copyright Battle with... by mikekchar on Thursday August 13, 2015 @09:50AM (#10054115)
I always think is is somewhat interesting given the Java trap [1]. In some ways RMS was very prescient (not entirely surprising), but had Sun not released Java under the GPL, we could easily be having this discussion about IceTea.

The "Don't be ridiculous, nobody is going to sue you for using/implementing Java/C#/whatever" attitude was always frustrating, but I have to admit I didn't actually expect it to really happen :-P

[1] http://www.gnu.org/philosophy/java-trap.en.html

Re:Oracle Adds New Android Versions to Copyright Battle with... by throwawaykf05 on Thursday August 13, 2015 @09:59AM (#10054188)
APIs are pretty much confirmed to be copyrightable, as far as I can tell. The SC denying cert to review this appeal essentially confirms the Federal Circuit's interpretation. All that is left is to decide on fair use, which could still let Google off, but that defense assumes copyrightability.

But I disagree "we're fucked as an industry", though there could be some inconvenience. The Sega etc. cases still hold, and they essentially say that copying interfaces for binary compatibility / interoperability is fine. As far as statically compiled languages are concerned, that's all we need. If some API creator sues, we can always create / adopt a different API and map it to the binary instructions in the SPI.

Re:Oracle Adds New Android Versions to Copyright Battle with... by tzs on Thursday August 13, 2015 @11:26AM (#10054913)
As far as I've been able to tell, the Federal Circuit's decision sets no precedent. It is only binding on the trial court in this particular case.

Their decisions on patents set precedent, but for copyright they are supposed to follow the precedent of the numbered circuit that the trial court is in, which would be the 9th in this case. Future copyright cases in the 9th will still be appealed to the 9th Circuit, not the Federal Circuit, unless they are also a patent case.

I think there needs to be a change to the way appeals work in cases like this. In federal trial courts, there is a thing called supplemental jurisdiction which allows a court to hear claims that they would normally not have subject matter jurisdiction to hear if they are part of a case with other claims that they do have jurisdiction to hear.

For example, suppose a business deal goes bad, and ends up spawning a lawsuit involving federal copyright claims and state contract claims. Copyright claims must be heard in federal court. Federal courts normally would not have jurisdiction to hear state contract cases, but because of supplemental jurisdiction the federal court will hear the state contract claims too. If the case was just a state contract case, it could not be brought in federal court.

The idea behind supplemental jurisdiction is that in case like my hypothetical business deal gone bad it really is one case that just happened to generate issues that fell under different jurisdictions. If tried separately there would be much overlap in witnesses, documents, and other evidence. It would be an inefficient use of judicial resources and unduly burdensome on the parties and the witnesses.

At the appellate level, the court is examining the trial court's application of the law, not the trial court's determination of the facts. The appeals court works off the transcript and documents from the trial court, and the only people that have to appear physically are the lawyers arguing for the parties.

I think it would make a more sense to let appeals from multi-issue cases to go to multiple appeals courts, each appeals court only getting those issues for which it sets precedent. So in a case like Oracle vs. Google, tried in the 9th Circuit, copyright issue appeals should go to the 9th Circuit Court of Appeals, and patent issue appeals should go to the Federal Circuit. In cases like my hypothetical copyright and state contract case, if tried in the 9th Circuit, appeals on copyright issues should go to the 9th Circuit Court of Appeals, and state contract issues should go to a state appellate court.

Re:Oracle Adds New Android Versions to Copyright Battle with... by Oletros on Thursday August 13, 2015 @07:59AM (#10053481)
Oracle failed to assert any patent related to virtual machines
Re:Oracle Adds New Android Versions to Copyright Battle with... by dozzie on Thursday August 13, 2015 @08:02AM (#10053495)
> Think again, at the very least it has a garbage collector ;-)

...which was not invented by Sun. GC is like twenty years older.

Re:Oracle Adds New Android Versions to Copyright Battle with... by bliti on Thursday August 13, 2015 @07:57AM (#10053473)
Was openjdk a feasible option at the time?
Re:Oracle Adds New Android Versions to Copyright Battle with... by pakled_engineer on Thursday August 13, 2015 @08:14AM (#10053532)
Yes but Android's policy is avoid GPL whenever possible, which is why they rewrote their own Dm-crypt mod and other standard tools also Oracle already tried and failed to sue over Android http://www.infoworld.com/article/2615512/java/open-source-ja... (2012 article)
Re:Oracle Adds New Android Versions to Copyright Battle with... by jsingleton on Thursday August 13, 2015 @10:04AM (#10054241)
It's not just Android. Google is a massive Java shop and a lot of their stuff is written in it. They have plenty of Java expertise in all areas.

It's also the main language taught at universities, which helps with hiring. I've heard that Google's public use of Python is more for PR. If you want to change this then the way is to change what educators are teaching.

Java is probably one of the reasons why they acquired Android. Possibly even one of the reasons Android is written in Java.

I once knew a senior Java architect who turned down a job at Google. This was back in the "who needs another Yahoo!" days. Needless to say they regretted that decision.

Re:Oracle Adds New Android Versions to Copyright Battle with... by aikah on Thursday August 13, 2015 @09:45AM (#10054076)
> Would a rewrite in (say) Go even be possible?

The problem isn't rewriting Dalvik in Go or language X,Y,Z.The problem is the APIs used by Google -- and Oracle copyright claims on them.

Furthermore Dalvik supports most languages of the JVM so do you really want to impose a single language in place of Java, Clojure, Kotlin, Scala, Jruby, Jython and many more ? do you think all the programmers using these languages would be happy if forced to migrate to Go ?

Ask yourself that question.

Re:Oracle Adds New Android Versions to Copyright Battle with... by drivingmenuts on Thursday August 13, 2015 @11:00AM (#10054681)
They probably wouldn't but then again, they're taunting the lawnmower (mentioned above) and seem to forget that the lawnmower has a lot of money and willpower.

I'd say it's time they dumped that lawnmower and came up with something to replace it.

Re:Oracle Adds New Android Versions to Copyright Battle with... by aikah on Thursday August 13, 2015 @11:56AM (#10055126)
They also had the money to buy Sun Microsystems , they didn't. They had the money to use something else than Java on Android , they didn't. They're not going to move to Go, they'll just pay and make a deal if Oracle wins.
Re:Oracle Adds New Android Versions to Copyright Battle with... by fauigerzigerk on Thursday August 13, 2015 @11:06AM (#10054743)
Is it really more difficult to compile to Go source code than to Dalvik/ART byte code? Using Go as a compilation target would allow other languages to benefit from structured value types and goroutines.
Re:Oracle Adds New Android Versions to Copyright Battle with... by aikah on Thursday August 13, 2015 @11:52AM (#10055090)
> Is it really more difficult to compile to Go source code

And who's going to write a Java/Clojure/Scala/Jyton/JRuby/Kotlin/ to Go compiler ? when Google couldn't even write their own language for the android plateform at first place ?

Re:Oracle Adds New Android Versions to Copyright Battle with... by fauigerzigerk on Thursday August 13, 2015 @03:51PM (#10056764)
If a platform is popular, language creators will want their languages to run on it, especially if that platform solves some of the problems the old platform has (like excessive memory consumption in the case of Java).

Rich Hickey has complained about the lack of composite value types for instance, and I can imagine that many language creators would love to use green threads based concurrency without actually having to write the low level code for it.

Go is a minimalist language. Many people want more sophisticated type systems and other modern features. So there's a great opportunity for other languages to stand out without having to compete with Go itself. Every time Java adds some functional programming support, the Scala community has to defend its raison d'etre. There would be no such issues with Go and that alone would be a real incentive for language designers to put work into a compiler.

Re:Oracle Adds New Android Versions to Copyright Battle with... by aikah on Thursday August 13, 2015 @11:00PM (#10058401)
> There would be no such issues with Go and that alone would be a real incentive for language designers to put work into a compiler.

I don't know what you're talking about.

You can use Go to write android apps already so let the people that like other languages already supported by Android do the same. Nobody's going to rewrite Java or Scala in Go. As I said earlier, if Google wanted to do that it would have done that 5 years ago. They are clearly not interested in betting all their mobile strategy on a niche language.

Re:Oracle Adds New Android Versions to Copyright Battle with... by fauigerzigerk on Friday August 14, 2015 @04:14AM (#10059108)
I'm not saying it is going to happen or that it has no drawbacks. What I'm saying is that Go has some benefits as a compilation target.

And no, you can not write Android SDK apps entirely in Go today. What you can do is write a library or command line tool and call it from a Java app.

Re:Oracle Adds New Android Versions to Copyright Battle with... by bliti on Thursday August 13, 2015 @07:55AM (#10053466)
Main issue is making people move away from one language to another. You'd have to let people use their existing code base with the new language (like apple did with swift). Could it be possible without another similar lawsuit?
Re:Oracle Adds New Android Versions to Copyright Battle with... by simi_ on Thursday August 13, 2015 @07:58AM (#10053478)
Call them "legacy apps" and run them over a compatibility layer. Hardware will gradually get good enough to run the old Java apps without hiccups, and the apps that get translated to Go will run about as fast as the Java-Android versions [citation needed], but with oodles of memory to spare.
Re:Oracle Adds New Android Versions to Copyright Battle with... by toyg on Thursday August 13, 2015 @08:17AM (#10053538)
if the API is copyrightable, your "compatibility layer" would also infringe.
Re:Oracle Adds New Android Versions to Copyright Battle with... by userbinator on Thursday August 13, 2015 @11:08AM (#10054759)
Nicely summed up as "ORACLE: One Rich Asshole Called Larry Ellison."