r/Android • • Jan 21 '11

Oops: Android contains directly copied Java code, strengthening Oracle's case -- Engadget

http://www.engadget.com/2011/01/21/oops-android-contains-directly-copied-java-code-strengthening/
0 Upvotes

74 comments sorted by

View all comments

14

u/Snap65 Jan 21 '11

I thought Java was open source code and from what I hear Oracle changed the terms.

11

u/[deleted] Jan 21 '11

No; Java was originally closed; it was released under a slightly odd license by Sun a while back.

1

u/[deleted] Jan 21 '11

Source?

8

u/davidb_ Jan 21 '11

The original and reference implementation Java compilers, virtual machines, and class libraries were developed by Sun from 1995. As of May 2007, in compliance with the specifications of the Java Community Process, Sun relicensed most of its Java technologies under the GNU General Public License.

That's from wikipedia. It doesn't really say much specifically about the JVM code that is the focus of the suit.

1

u/holloway Jan 21 '11

Of course Sun didn't use the plain GPL (because otherwise all Java apps would need to be GPL too) but they used the GPL + Classpath Exception.

2

u/DefaultPlayer Nexus 6P Jan 21 '11

I'm not sure about Oracle changing the terms, I know they were trying/implying that they were going to but I don't think they did.

I'm just wondering how open-source Java is. Should this be allowed? Has anyone ever read the T's & C's?

3

u/stealthmodeactive Pixel 6 Pro Jan 21 '11

My thoughts exactly. How can you sue over open source?

11

u/[deleted] Jan 21 '11 edited Jan 21 '11

These days, Java is (mostly) GPLv2, Dalvik uses parts of the Apache Harmony classpath, and the disputed code is code that Google apparently allegedly put in the Android Harmony repo. The GPL is not a permissive license, and relicensing bits of a GPL application as Android without the copyright holder's permission would be infringement.

EDIT: Class library, not classpath. Brain not working today.

4

u/diamond Google Pixel 2 Jan 21 '11

What license does Android use? I thought it was GPL (apart from the proprietary bits like the Google Experience apps).

EDIT: Never mind. Just looked it up. Android is Apache licensed.

2

u/[deleted] Jan 21 '11

I thought it was GPL (apart from the proprietary bits like the Google Experience apps).

If that were the case, then things like Sense would likely have to be released under the GPL. If you link against GPL code, you catch it, except in very limited circumstances.

1

u/diamond Google Pixel 2 Jan 21 '11

Yes, you're right. I was mistaken about that (see my update). Upvoted for adding information.

3

u/merreborn Jan 21 '11

Well, for example, it'd be a violation of the GPL to take some GPL code and rerelease it with an MIT license.

2

u/stealthmodeactive Pixel 6 Pro Jan 21 '11

Ah, this is true. I have no idea what license google licenses android under. I assume, from your comment, it's the MIT license?