3 ms·
> Google was sued for Android's use of a copy of a specific implementation Nope, they were sued (and prevailed [1]) because of them re-implementing Java APIs.
by Yetanfou 7y ago
> Google was sued for Android's use of a copy of a specific implementation
Nope, they were sued (and prevailed [1]) because of them re-implementing Java APIs. The 'copy of a specific implementation' rhetoric concerned a 9-line snippet [2] which was laughed out of court by Alsup. Here's the contested piece of code:
private static void rangeCheck(int arrayLen, int fromIndex, int toIndex {
if (fromIndex > toIndex)
throw new IllegalArgumentException("fromIndex(" + fromIndex +
") > toIndex(" + toIndex+")");
if (fromIndex < 0)
throw new ArrayIndexOutOfBoundsException(fromIndex);
if (toIndex > arrayLen)
throw new ArrayIndexOutOfBoundsException(toIndex);
}
Here's Alsup's reaction to the claim [3 (look through the thread for a quote or find Groklaw on archive.org)]:
Judge: We heard the testimony of Mr. Bloch. I couldn't have told you the first thing about Java before this problem. I have done, and still do, a significant amount of programming in other languages. I've written blocks of code like rangeCheck a hundred times before. I could do it, you could do it. The idea that someone would copy that when they could do it themselves just as fast, it was an accident. There's no way you could say that was speeding them along to the marketplace. You're one of the best lawyers in America, how could you even make that kind of argument?
The case has been documented ad infinitum et delirium, look it up.
[1] https://www.theguardian.com/technology/2016/may/26/google-wins-copyright-lawsuit-oracle-java-code https://www.theguardian.com/technology/2016/may/26/google-wi...
[2] https://news.ycombinator.com/item?id=11722514 https://news.ycombinator.com/item?id=11722514
[3] https://news.ycombinator.com/item?id=3979899 https://news.ycombinator.com/item?id=3979899
- jacobush 7y agoI'm an Alsup fanboy now, I admit it.