Feeds

Google accused of copying (more) Oracle Java code

Android's 'PROPRIETARY' and 'CONFIDENTIAL' open source files

Boost IT visibility and business value

A well-known open source advocate has accused Google of copying at least seven and up to as many as 43 Android files directly from Oracle's Java source code.

It's unclear whether the files were actually included with the shipping version of Android, but they were open-sourced by Google under an Apache license, and that alone could be legally problematic for the company. The search giant now faces an Oracle patent- and copyright-infringement lawsuit over the use of Java in Android.

"[The alleged copied code] is really about the Android's team's credibility, its approach to intellectual property issues," Florian Mueller, who spotted the files in question, told The Register. "This looks arrogant, reckless, aggressive. What does it imply about the team's overall approach?"

Last October, as part of its lawsuit, Oracle handed six pages of Android code to a federal court, claiming they were directly copied from Oracle Java code. This amounted to a single file, and in a court filing of its own, Google claimed Oracle's exhibit had been doctored by Larry Ellison and company.

But with a Friday post, FOSS Patents blogger Florian Mueller pointed to six additional Android files that "show the same pattern of direct copying" – apparently, Google used a decompiler – and he claimed that unlike the file in Oracle's exhibit, these files were part of the open source trees for the most recent Android releases: 2.2 (Froyo) and 2.3 (Ginderbread). He also turned up 37 other files tagged with "PROPRIETARY/CONFIDENTIAL" and "DO NOT DISTRIBUTE!" notices by Sun. "Unless Google obtained a license to that code (which is unlikely given the content and tone of those warnings), this constitutes another breach," said Mueller.

Google had also said that Oracle had removed headers from its exhibit, and according to Mueller, the missing headers also read "PROPRIETARY/CONFIDENTIAL". "I don't think that the missing parts are favorable to Google. Actually, the opposite is true," he wrote.

Google did not respond to a request for comment.

As Google points out in a court filing, Android's Dalvik virtual machine uses a subset of Project Harmony, Apache Foundation's open source Java incarnation. But Apache has said that the code in Oracle's exhibit is not from Harmony. And though we've asked Apache about the other files turned up by Mueller, the foundation has yet to respond.

Oracle's exhibit and the six files where Mueller discovered what he believes to be similar copying are in the "unit test" area of the Android open source code tree. Mueller tells The Register he found the files by looking in the general vicinity of the file pinpointed by Oracle. As ZDNet's Ed Burnette points out, unit test code isn't likely to ship with a final product, and the files in question have been deleted from the tree. But they were still open-sourced.

If Google lifted the code from Sun, this may be problematic – whether Sun eventually open-sourced the code or not. Java was open-sourced under a GPL license, whereas Android uses the incompatible Apache license. "GPL is a one-way street," Mueller points out. "As a third party, you can't just turn a GPL file into an Apache file. It doesn't matter whether the Sun code was proprietary or GPL, because either way there's no way it could be licensed under Apache."

The 37 other files Mueller spotted are part of a zip file and appear to involve native code audio drivers. But these too were open-sourced. ®

Build a business case: developing custom apps

More from The Register

next story
KDE releases ice-cream coloured Plasma 5 just in time for summer
Melty but refreshing - popular rival to Mint's Cinnamon's still a work in progress
Leaked Windows Phone 8.1 Update specs tease details of Nokia's next mobes
New screen sizes, dual SIMs, voice over LTE, and more
Mozilla keeps its Beard, hopes anti-gay marriage troubles are now over
Plenty on new CEO's todo list – starting with Firefox's slipping grasp
Apple: We'll unleash OS X Yosemite beta on the MASSES on 24 July
Starting today, regular fanbois will be guinea pigs, it tells Reg
Another day, another Firefox: Version 31 is upon us ALREADY
Web devs, Mozilla really wants you to like this one
Secure microkernel that uses maths to be 'bug free' goes open source
Hacker-repelling, drone-protecting code will soon be yours to tweak as you see fit
Cloudy CoreOS Linux distro declares itself production-ready
Lightweight, container-happy Linux gets first Stable release
prev story

Whitepapers

Implementing global e-invoicing with guaranteed legal certainty
Explaining the role local tax compliance plays in successful supply chain management and e-business and how leading global brands are addressing this.
Boost IT visibility and business value
How building a great service catalog relieves pressure points and demonstrates the value of IT service management.
Why and how to choose the right cloud vendor
The benefits of cloud-based storage in your processes. Eliminate onsite, disk-based backup and archiving in favor of cloud-based data protection.
The Essential Guide to IT Transformation
ServiceNow discusses three IT transformations that can help CIO's automate IT services to transform IT and the enterprise.
Maximize storage efficiency across the enterprise
The HP StoreOnce backup solution offers highly flexible, centrally managed, and highly efficient data protection for any enterprise.