Feeds

Google's 'copied Java code' disowned by Apache

Dis-Harmony from Oracle's Android suit

The Power of One Brief: Top reasons to choose HP BladeSystem

When Oracle sued Google over Android, many assumed the database giant would target code Google lifted from the Apache Foundation's open source Java incarnation, Project Harmony. But Oracle just pinpointed six pages of Google code, claiming they were "directly copied" from copyrighted Oracle material, and according to Apache, this code is not part of Harmony.

"Recent reports on various blogs have attributed to the ASF a number of the source files identified by Oracle as ones that they believe infringe on their copyrights," the Foundation says in a Friday blog post. "Even though the code in question has an Apache license, it is not part of Harmony."

On Wednesday, Oracle unloaded a new court filing in which it specifically claims that Android's class libraries and documentation infringe on its copyrights, and that approximately one-third of Android's API packages are "derivative" of Oracle's copyrighted Java API packages. With its filing, the database giant claims that in some instances Google directly copied Oracle code, and it includes code samples in an attempt to prove its point (see next page).

Suit watchers continue to argue over how similar the code samples really are. And many mistakenly assume that the code came from Harmony.

As Google pointed out in its answer to Oracle's suit, Android's Dalvik virtual machine uses a subset of Harmony. "The core class libraries of the Dalvik VM incorporate a subset of Apache Harmony, a clean room, open source implementation of Java from the Apache Software Foundation," Google's court filing reads. But it also points out that other parts of Android, including portions of Dalvik, were independently developed. And Apache makes it clear that the code in Oracle's filing is not from Harmony.

"The code in question has an header that mentions Apache, and perhaps that is the source of the confusion," its blog post says. "The code itself is using a license that is named after our foundation, is in fact the license that we ourselves use. Many others use it too, as the license was explicitly designed to allow such uses."

But Project Harmony may still provide a window into Oracle's strategy. It would seem that Oracle is hoping to hit Google through the Java Technology Compatibility Kits (TCKs), those closed-source Java bits at the heart of a long-running dispute between Sun/Oracle and Apache.

Securing Web Applications Made Simple and Scalable

Next page: Code unload

More from The Register

next story
Apple fanbois SCREAM as update BRICKS their Macbook Airs
Ragegasm spills over as firmware upgrade kills machines
HIDDEN packet sniffer spy tech in MILLIONS of iPhones, iPads – expert
Don't panic though – Apple's backdoor is not wide open to all, guru tells us
Mozilla fixes CRITICAL security holes in Firefox, urges v31 upgrade
Misc memory hazards 'could be exploited' - and guess what, one's a Javascript vuln
NO MORE ALL CAPS and other pleasures of Visual Studio 14
Unpicking a packed preview that breaks down ASP.NET
Captain Kirk sets phaser to SLAUGHTER after trying new Facebook app
William Shatner less-than-impressed by Zuck's celebrity-only app
Cheer up, Nokia fans. It can start making mobes again in 18 months
The real winner of the Nokia sale is *drumroll* ... Nokia
EU dons gloves, pokes Google's deals with Android mobe makers
El Reg cops a squint at investigatory letters
Chrome browser has been DRAINING PC batteries for YEARS
Google is only now fixing ancient, energy-sapping bug
prev story

Whitepapers

Designing a Defense for Mobile Applications
Learn about the various considerations for defending mobile applications - from the application architecture itself to the myriad testing technologies.
How modern custom applications can spur business growth
Learn how to create, deploy and manage custom applications without consuming or expanding the need for scarce, expensive IT resources.
Reducing security risks from open source software
Follow a few strategies and your organization can gain the full benefits of open source and the cloud without compromising the security of your applications.
Boost IT visibility and business value
How building a great service catalog relieves pressure points and demonstrates the value of IT service management.
Consolidation: the foundation for IT and business transformation
In this whitepaper learn how effective consolidation of IT and business resources can enable multiple, meaningful business benefits.