Google is ditching the Java application programming interfaces (APIs) in
Android and moving to only OpenJDK <http://openjdk.java.net/>, the open
source version of Java. The news first came by a “mysterious Android
codebase commit” from last month submitted toHacker News
<https://news.ycombinator.com/item?id=10803775>. Google confirmed to
VentureBeat that Android N
<http://venturebeat.com/2015/12/17/google-may-use-an-online-poll-to-name-android-n/>
will
rely solely on OpenJDK.

“As an open-source platform, Android is built upon the collaboration of the
open-source community,” a Google spokesperson told VentureBeat. “In our
upcoming release of Android, we plan to move Android’s Java language
libraries to an OpenJDK-based approach, creating a common code base for
developers to build apps and services. Google has long worked with and
contributed to the OpenJDK community, and we look forward to making even
more contributions to the OpenJDK project in the future.”

Android provides certain Java API libraries to support the development of
apps in the Java programming language, broken into two parts: The APIs to
the libraries and the implementing code developed by Google that make said
libraries work. Oracle, which develops Java, has two implementations of
these libraries: the proprietary JDK version and the open source OpenJDK
version. Google’s decision to “consolidate” its efforts with OpenJDK, which
Android already uses in some areas, means it will be sharing its
implementing code.

The code commit
<https://android.googlesource.com/platform/libcore.git/+/51b1b6997fd3f980076b8081f7f1165ccc2a4008>
in
question, which shows 8902 files were changed, clearly notes OpenJDK code
was added to Android:

Initial import of OpenJdk files.
Create new libcore/ojluni directory with src/main/java and src/main/native
subdirectiories.
Build ojluni into core-oj jar.
Use openjdk classes from java.awt.font package.
Copy all files from jdk/src/share/classes and jdk/src/solaris/classes
directories in openjdk into libcore/ojluni/src/main/java.
Copy following native files from openjdk to libcore/ojluni/src/main/native:
[long list of files]

Google is hoping that developers will appreciate the change because it
simplifies the code on which they build apps — a common codebase for these
Java API libraries, as opposed to multiple codebases. That may be true, but
if that was the only reason Google made the complete switch to OpenJDK, the
company would have done so years ago.

When we asked Google why now, the company pointed to to the release of Java
8 <http://www.oracle.com/technetwork/java/javase/8-whats-new-2157071.html> last
year and the introduction of new language features such as lambdas
<http://www.oracle.com/webfolder/technetwork/tutorials/obe/java/Lambda-QuickStart/index.html>.
As such, Google wants to put more resources into OpenJDK where the team can
have a bigger impact on new features and improvements. That’s the developer
story Google is pitching in any case, but there’s a massive legal narrative
here that can’t be forgotten.
Oracle

Hacker News users are rightly wondering whether the code commit means the
legal dispute between Oracle and Google has been settled out of court, or
whether Google has decided to protect itself with regards to future Android
versions in the event it loses. It’s a good question, but because the
Oracle lawsuit is ongoing, Google declined to comment whether this code
commit is related.

After acquiring Sun in January 2010, Oracle sued Google for copyright and
patent infringement in August 2010, arguing that Android cannot use Java’s
APIs without permission
<http://venturebeat.com/2010/10/28/google-oracle-lawsuit-android/>. Google
countered by declaring that APIs can’t be copyrighted as they are essential
to software development, collaboration, and innovation.

In May 2012, a jury found that Google did not infringe on Oracle’s patents
<http://venturebeat.com/2012/05/23/google-v-oracle-verdict/>, saying that
Java’s APIs can’t be copyrighted. In May 2014, the Federal Circuit
partially reversed the district court decision, ruling in Oracle’s favor:
Java’s APIs can be copyrighted. In June 2015, the U.S. Supreme Court
declined to hear the case and sent it back to a lower court so Google could
argue that it made fair use of Oracle’s copyrighted APIs.

Is it just a coincidence <https://www.youtube.com/watch?v=IRoh62wRgkc> that
after all the back and forth, Google has decided to completely embrace
OpenJDK? Unlikely, but the end result is what matters: future versions of
Android won’t be dependent on Oracle’s proprietary JDK version.

Either way, the case isn’t over (Google can’t exactly change existing
Android versions), and the final decision will still be watched very
closely as it could have a huge impact on software development as a whole.
If Oracle wins, tech giants could hold a lot of power over developers
creating new software based on existing apps and services. If Google wins,
fair use laws could essentially protect the use of APIs.

http://venturebeat.com/2015/12/29/google-confirms-next-android-version-wont-use-oracles-proprietary-java-apis/

2015-12-30 16:44 GMT+07:00 Eko Prasetiyo <[email protected]>:

> ----
> *Takut*
> <http://detik.feedsportal.com/c/33613/f/656095/s/4c8b7654/sc/3/l/0Linet0Bdetik0N0Cread0C20A150C120C30A0C160A3440C310A760A50C3170Ctakut0Edituntut0Egoogle0Ehapus0Ejava0Edari0Eandroid/story01.htm>
> <http://detik.feedsportal.com/c/33613/f/656095/s/4c8b7654/sc/3/l/0Linet0Bdetik0N0Cread0C20A150C120C30A0C160A3440C310A760A50C3170Ctakut0Edituntut0Egoogle0Ehapus0Ejava0Edari0Eandroid/story01.htm>
> *Dituntut*
> <http://detik.feedsportal.com/c/33613/f/656095/s/4c8b7654/sc/3/l/0Linet0Bdetik0N0Cread0C20A150C120C30A0C160A3440C310A760A50C3170Ctakut0Edituntut0Egoogle0Ehapus0Ejava0Edari0Eandroid/story01.htm>*,
> Google *
> <http://detik.feedsportal.com/c/33613/f/656095/s/4c8b7654/sc/3/l/0Linet0Bdetik0N0Cread0C20A150C120C30A0C160A3440C310A760A50C3170Ctakut0Edituntut0Egoogle0Ehapus0Ejava0Edari0Eandroid/story01.htm>
> *Hapus*
> <http://detik.feedsportal.com/c/33613/f/656095/s/4c8b7654/sc/3/l/0Linet0Bdetik0N0Cread0C20A150C120C30A0C160A3440C310A760A50C3170Ctakut0Edituntut0Egoogle0Ehapus0Ejava0Edari0Eandroid/story01.htm>*
> Java *
> <http://detik.feedsportal.com/c/33613/f/656095/s/4c8b7654/sc/3/l/0Linet0Bdetik0N0Cread0C20A150C120C30A0C160A3440C310A760A50C3170Ctakut0Edituntut0Egoogle0Ehapus0Ejava0Edari0Eandroid/story01.htm>
> *dari*
> <http://detik.feedsportal.com/c/33613/f/656095/s/4c8b7654/sc/3/l/0Linet0Bdetik0N0Cread0C20A150C120C30A0C160A3440C310A760A50C3170Ctakut0Edituntut0Egoogle0Ehapus0Ejava0Edari0Eandroid/story01.htm>*
> Android*
> <http://detik.feedsportal.com/c/33613/f/656095/s/4c8b7654/sc/3/l/0Linet0Bdetik0N0Cread0C20A150C120C30A0C160A3440C310A760A50C3170Ctakut0Edituntut0Egoogle0Ehapus0Ejava0Edari0Eandroid/story01.htm>
> // *inet.detik*
> <http://detik.feedsportal.com/c/33613/f/656095/s/4c8b7654/sc/3/l/0Linet0Bdetik0N0Cread0C20A150C120C30A0C160A3440C310A760A50C3170Ctakut0Edituntut0Egoogle0Ehapus0Ejava0Edari0Eandroid/story01.htm>
>
> Google baru-baru ini mengkonfirmasi bahwa mereka akan menghentikan
> penggunaan application programming interface (API) Java di Android. Hal itu
> mereka lakukan untuk menghindari permasalahan hukum dengan pemilik paten
> Java, yaitu Oracle.
>
>
>
>
>
>
>
> ----
>
> Shared via *my * <http://feedly.com>*feedly* <http://feedly.com>* reader*
> <http://feedly.com>
>
> --
> ==========
> Beli paket data Internet Indosat cuma nge-tweet.
> Daftar #TWITBUY di www.indosat.com/twitbuy
> Ikuti obrolannya di Forum ICITY >> http://bit.ly/1UxYCDA
>
> ----------------------
> Hanya dengan 500ribu bisa jadi reseller delcell.
> Hubungi: [email protected]
> ----------------------
> Bass Audio Headphone Store, Toko Headphone Earphone Terlengkap
> Kunjungi >> http://bassaudio.net
> ----------------------
> Kontak Admin, Twitter @agushamonangan
> -----------------------
> FB Groups : https://www.facebook.com/groups/android.or.id
>
> Aturan Umum ID-ANDROID >> goo.gl/mL1mBT
>
> ==========
> ---
> Anda menerima pesan ini karena berlangganan grup "[id-android] Indonesian
> Android Community" di Google Grup.
> Untuk berhenti berlangganan dan berhenti menerima email dari grup ini,
> kirim email ke [email protected].
> Kunjungi grup ini di https://groups.google.com/group/id-android.
>



-- 
*If you intend to work under a genius, you'd better be ready to see Hell
(Komikado-sensei, 2013)*

-- 
==========
Beli paket data Internet Indosat cuma nge-tweet. 
Daftar #TWITBUY di www.indosat.com/twitbuy
Ikuti obrolannya di Forum ICITY  >> http://bit.ly/1UxYCDA
 
----------------------
Hanya dengan 500ribu bisa jadi reseller delcell.
Hubungi: [email protected]
----------------------
Bass Audio Headphone Store, Toko Headphone Earphone Terlengkap 
Kunjungi  >> http://bassaudio.net
----------------------
Kontak Admin, Twitter  @agushamonangan
-----------------------
FB Groups     :  https://www.facebook.com/groups/android.or.id

Aturan Umum  ID-ANDROID >> goo.gl/mL1mBT

==========
--- 
Anda menerima pesan ini karena Anda berlangganan grup "[id-android] Indonesian 
Android Community" dari Google Grup.
Untuk berhenti berlangganan dan berhenti menerima email dari grup ini, kirim 
email ke [email protected].
Kunjungi grup ini di https://groups.google.com/group/id-android.

Kirim email ke