Google is planning to switch Java application programming interfaces (APIs) from Oracle's proprietary Java Development Kit (JDK) to the open source OpenJDK. Hacker News first exposed the "mysterious Android code base" last month, and Google also confirmed to VentureBeat that "Android N" will only rely on OpenJDK, rather than Android's own version of the Java API.
A Google spokesperson told VentureBeat:
Android provides some Java API libraries to support application development in the Java programming language, which are mainly divided into two parts - APIs for the library, and deployment code developed by Google that enables the library to work. As for Java's current owner, Oracle, there are two implementations of these libraries - the proprietary JDK version, and the open source OpenJDK version. Google decided to "consolidate" its efforts on OpenJDK, which Android already uses in some places, which means the company will share its implementation code. Initial import of OpenJdk files. Create new libcore/ojluni directory with src/main/java and src/main/native subdirectories. 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] The "code commit" mentioned above indicates that 8902 files have been changed, which clearly indicates that the OpenJDK code has been added to Android. Google hopes that developers will be happy with this change because it simplifies the code they use to build applications (common code for these Java API libraries instead of multiple code bases). |
<<: The Programming Story of Little Printf: Chapter 2
>>: 13 Wearable Technology Trends to Watch in 2016
Recently, the first case of illegal P2P fund-rais...
Produced by: Science Popularization China Author:...
If you open the calendar, you will find that 2024...
Terms such as 4G+, VoLTE, and carrier aggregation...
Currently, the common search advertisements in th...
Some time ago, a report about a 65-year-old woman...
1. The impact of domain names on search engines (...
The core users we are talking about probably refe...
"Drinking juice is equivalent to eating frui...
After reading this article, I hope you can improv...
[[201510]] Fingerprint recognition is a standard ...
Due to today's environmental problems and the...
At both ends of the Eurasian continent, breeders ...
Singing is really a very popular form of entertai...
Google Ads is the most important form of advertis...