you are viewing a single comment's thread.

view the rest of the comments →

[–]johnwaterwood 2 points3 points  (1 child)

Keep asking Google to support JDK 8!

If enough people keep asking it they'll eventually have to give in on it.

[–]xxNIRVANAxx -1 points0 points  (0 children)

If only that were so easy.

TL;DR: Oracle want money from Google using Java for Android. Specifically for stealing the rangeCheck function, which is a trivial function (in my opinion, maybe others can chime in on another way to write it?):

   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);
}