Adam Outler · May 16, 2012 at 03:00 pm

Update on the Oracle Versus Google Trial

The case which, was proclaimed by some to end Android or raise the prices of future Android devices, is turning out more favorable by the day for Google and its star OS. If you haven’t already read our primer on the topic, now would be a good time to do so.

At the end of the day on Tuesday, the closing statements for phase 2 of the trial were issued by each side and a rather humerous transaction between Oracle and the Judge took place.

Quoted from Groklaw:

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?

Oracle: I want to come back to rangeCheck.

Judge: rangeCheck! All it does is make sure the numbers you’re inputting are within a range, and gives them some sort of exceptional treatment. That witness, when he said a high school student could do it–

A major portion of the Oracle’s claims are based on 9 lines of code contained within Java.Util.Arrays.rangeCheck().  Here is the code in question:

  792       private static void rangeCheck(int length, int fromIndex, int toIndex) {
  793           if (fromIndex > toIndex) {
  794               throw new IllegalArgumentException(
  795                   “fromIndex(” + fromIndex + “) > toIndex(” + toIndex + “)”);
  796           }
  797           if (fromIndex < 0) {
  798               throw new ArrayIndexOutOfBoundsException(fromIndex);
  799           }
  800           if (toIndex > length) {
  801               throw new ArrayIndexOutOfBoundsException(toIndex);
  802           }
  803       }

This block of code can be very much simplified if we remove some jargon.  We have some exceptions thrown.  An exception’s job is to print some information. And if left unhandled, an exception will stop the application from running. We also have some variables.

Lets simplifiy the exceptions down to printing errors, and lets simplifiy the  integer variables down to A, B, and C.  I’ve writen the following pseudo-code to demonstrate the simplicity of this method in question.

rangeCheck(integer A, integer B, integer C) {
  if (B > C) {
    print(“ERROR: B is invalid because it is greater than C”);
  }
  if (B < 0) {
    print(“ERROR: B is less than 0″);
  }
  if (C > A) {
    print(“ERROR: C is greater than A”);
  }
}

At the beginning of the day on Tuesday, Google offered Oracle a grand total of 2% profit from Android.  Oracle declined.  At the end of the day in court on Tuesday, it seems that 2% would have been more than generous on Google’s part.

So lets do a quick recap of what’s happened so far. The trial was broken into three Phases: Patents, Infringement, and Damages.

Phase 1 was left unconcluded, as there has not yet been a ruling on whether APIs can be copyrighted.  Considering the implications of copyrighting an API, it would not make sense to give this one to Oracle. If API copyrights were granted, every plug-in or 3rd party tool for any application ever created would automatically be subject to scrutiny.

Phase 2 seems to be going in Google’s favor.  What Google is infringing upon is an accidental 9 lines of code and 8 test files.  The test files were never released in Android, and therefore should be considered irrelevant as no profit was generated from them directly.

We shall see in Phase 3 how the trial will go. I, for one, am interested to see how Oracle can prove that the 9 lines above could possibly damage their profits or business.

Source: Groklaw.net


_________
Want something on the XDA Portal? Send us a tip!

Adam Outler

AdamOutler is an editor on XDA-Developers, the largest community for Android users. Electronics Tech/ Developer View AdamOutler's posts and articles here.
Aamir Siddiqui · Jun 30, 2015 at 02:43 pm · 3 comments

Beats Music No Longer Accepting New Accounts

Whenever Apple launches a new product or service, it definitely manages to grab the attention of all. Whether you love the company and or its products, or you hate it, there's no denying that Apple does make more people interested in things, old or new. When the company announced Apple Music, it directly took aim at the user base of iTunes which had migrated to the streaming convenience of Spotify and later, Google Play Music. In order to further bolster...

XDA NEWS
Emil Kako · Jun 30, 2015 at 02:37 pm · 3 comments

Do You Do Self-Repairs on Your Devices?

As smartphone designs become more and more complex, self-repairs on devices are also becoming more complicated. Unibody handsets like HTC's One flagship series can sometimes be a nightmare to repair if the person doesn't have much experience. That, of course, all depends on the device you are attempting to repair though. So, how many of you do self-repairs on your devices? Let us know why or why not in the comments below.

DISCUSS
Faiz Malkani · Jun 30, 2015 at 02:03 pm · 3 comments

Sony Z4 Slips Out of Top 5 Smartphones in Japan

In a bid to streamline its flagship series which had been losing credibility over the past few years due to their 6 month release cycles, Sony announced that releases would be pushed back to the standard duration of one year instead. When Sony's 2015 flagship was unveiled as the Z4 in Japan and the Z3+ across the rest of the world, enthusiasts everywhere expected things to take a turn for the better, in lieu of the aforementioned announcement. However, two months...

XDA NEWS
Share This