| 2043 | } |
| 2044 | |
| 2045 | private static void checkBounds(int arrLength, int start, int end) { |
| 2046 | if (start > end) { |
| 2047 | // luni.35=Start index ({0}) is greater than end index ({1}) |
| 2048 | throw new IndexOutOfBoundsException("" + start + " out of: " + end); |
| 2049 | } |
| 2050 | if (start < 0) { |
| 2051 | // luni.36=Array index out of range\: {0} |
| 2052 | throw new IndexOutOfBoundsException("" + start); |
| 2053 | } |
| 2054 | if (end > arrLength) { |
| 2055 | // luni.36=Array index out of range\: {0} |
| 2056 | throw new IndexOutOfBoundsException("" + end); |
| 2057 | } |
| 2058 | } |
| 2059 | |
| 2060 | private static void sort(int start, int end, byte[] array) { |
| 2061 | byte temp; |