by jimmyvanhalen · 14y ago · 0 comments
2. Google's chief Java architect: it's 'likely' I copied Sun code found in Android, 'I'm sorry' if I did
http://www.theverge.com/2012/4/19/2961128/google-chief-java-...
If Oracle can prove that Google willfully broke Sun/Java copyright and license, Google needs to pay up.
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);
}
Literally a rangeCheck.And not only that, 9 lines written by the stealer himself ( http://cr.openjdk.java.net/~martin/webrevs/openjdk7/timsort/... ) and given to Sun/Oracle!
Still, i agree with, Sun/Oracle do have the copyrights for that. Google needs to pay up, is ten bucks alright for this?
Even a few lines of copied code explodes the whole claim.
What the chief architect did or didn't do isn't relevant to the testimony of Jonathan Schwartz or rebuttal by McNealy.
Schwartz's testimony basically said that Sun was most concerned about protecting the Java trademarks and wider ecosystem, and while he wasn't necessarily happy with what Google did, he didn't see it as actionable. (Perhaps he thought that Google & Sun would eventually reconcile?)
Here's the main thing about his testimony: Schwartz "endorsement" is not a license agreement or a permission to break copyright/patent laws.
Edit:
and if you look at Jonathan's blog post it clearly says in the header "JONATHAN'S BLOG".