src/jdk/nashorn/internal/runtime/arrays/IteratorAction.java

changeset 326
60bc560df392
parent 112
267cc4c85160
child 350
3d947baa33cc
     1.1 --- a/src/jdk/nashorn/internal/runtime/arrays/IteratorAction.java	Wed Jun 05 12:17:10 2013 +0200
     1.2 +++ b/src/jdk/nashorn/internal/runtime/arrays/IteratorAction.java	Wed Jun 05 12:44:24 2013 +0200
     1.3 @@ -49,7 +49,7 @@
     1.4      protected T result;
     1.5  
     1.6      /** Current array index of iterator */
     1.7 -    protected int index;
     1.8 +    protected long index;
     1.9  
    1.10      /** Iterator object */
    1.11      private final ArrayLikeIterator<Object> iter;
    1.12 @@ -134,6 +134,6 @@
    1.13       *
    1.14       * @throws Throwable if invocation throws an exception/error
    1.15       */
    1.16 -    protected abstract boolean forEach(final Object val, final int i) throws Throwable;
    1.17 +    protected abstract boolean forEach(final Object val, final long i) throws Throwable;
    1.18  
    1.19  }

mercurial