Android N to ditch Oracle’s proprietary Java APIs for OpenJDK

You can’t develop the world’s top mobile operating system without getting into a few legal tussles. Google has been embroiled in a complex lawsuit with Oracle over the Java programming language since 2010. The case centers on whether or not Google infringed on Oracle’s copyright when it copied sections of the Java APIs in Android. Now, Google has confirmed that it will be doing away with all the standard Java APIs in the next version of Android. Instead, it will use only the open source OpenJDK.



The ongoing battle between Oracle and Google has been messy, to say the least. It all goes back to the way Java APIs (Application Programming Interfaces) are used in Android. If you want programs to communicate with each other, you need an API, and Oracle thinks it should be able to copyright those. Computer scientists tend to disagree because APIs are essential for interoperability.

Android apps are mostly written in Java, then compiled by the operating system to native code and run. The part of the system that handles this used to be known as Dalvik virtual machine, but has since been replaced by the more efficient ART (Android Runtime). Most of the code in Google’s VM is original (Google says it’s about 97%), but it still uses Oracle’s Java APIs.

This has been a sticking point for the last few years. After a jury found in favor of Google, a appeals court mostly reversed that judgment. A petition for the Supreme Court to hear the case was rejected earlier this year, and the case now sits at a lower court waiting to decide on Google’s fair use argument. In the meantime, Google is making sure this isn’t an issue going forward.

article2-arch

Because Android is open source (Java is mostly open as well), you can see all the code commits to the Android Open Source Project (AOSP). Some developers noticed a large change pop up the other day that affects 8,902 files. Further digging revealed that it was related to the Java APIs in Android. When asked about this, Google confirmed that it is moving away from the standard Java implementation and will instead use OpenJDK.

Google didn’t mention the case against Oracle, but it seems clear that’s the reason for the change. Google claims using the OpenJDK will create a common code base for developers. It also has the benefit of being completely open source and not controlled by the overly litigious Oracle. Even if Google wins the fair use argument, that doesn’t mean future fair use arguments would hold up. It’s best to just move away from Oracle’s platform.
< Google says the switch to OpenJDK will take place in the N release of Android. That’s expected to happen at some point in 2016. That doesn’t change anything about the current legal battle. If the court finds that Java APIs aren’t covered by fair use, Google might end up paying out a large pile of cash to Oracle.

Source link

This article has 14 comments

  1. Pettibon Reply

    Heya i’m for the first time here. I found this broad and I find It really useful & it helped me out much. I hope to give something back and aid others like you aided me.|

  2. carlota.tylor Reply

    You’ve made some really good points there. I checked on the net
    for additional information about the issue and found most people will go along
    with your views on this site.

  3. reinafajardo Reply

    First off I would like to say great blog! I had a quick question that I’d like to
    ask if you don’t mind. I was interested
    to know how you center yourself and clear your thoughts prior to writing.
    I have had a tough time clearing my thoughts in getting my
    ideas out. I truly do enjoy writing but it just seems like the first 10 to 15 minutes are wasted
    simply just trying to figure out how to begin. Any suggestions or tips?
    Appreciate it!

    • Nauman Zubair Reply

      @Fortnite Account Generator You should start writing more and more articles, slowly you will learn this trick of writing short to-the-point blogs easily.

  4. Zych Reply

    Hi, always i used to check website posts here in the early hours in the break of day, as i love to gain knowledge of more and more.|

  5. Lon Suoboda Reply

    Thank you for sharing your thoughts. I really appreciate your efforts and I am waiting for your next write ups thank you once again.|

  6. افلام كرتون Reply

    I know this web site offers quality depending posts and other information, is there any other web site which gives these data in quality?|

  7. Valletta Reply

    Right here is the right web site for everyone who would like to find out about this topic. You realize a whole lot its almost hard to argue with you (not that I really will need to…HaHa). You definitely put a new spin on a topic that’s been written about for years. Excellent stuff, just wonderful!|

  8. Beery Reply

    Hi there! This is my first comment here so I just wanted to give a quick shout out and tell you I genuinely enjoy reading your blog posts. Can you recommend any other blogs/websites/forums that deal with the same topics? Thanks a ton!|

  9. Colleen Zarrineh Reply

    Excellent beat ! I wish to apprentice whilst you amend your website, how could i subscribe for a weblog website? The account helped me a applicable deal. I had been a little bit acquainted of this your broadcast offered brilliant transparent concept|

  10. Barends Reply

    I was suggested this website via my cousin. I’m no longer positive whether or not this publish is written by him as nobody else realize such particular about my problem. You’re incredible! Thanks!|

  11. 0mniartist Reply

    I was recommended this blog by my cousin. I am not sure whether this post is written by him as
    nobody else know such detailed about my difficulty.
    You’re wonderful! Thanks!

Leave a Reply to Colleen Zarrineh Cancel reply

Your email address will not be published. Required fields are marked *