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

Print this page

        

*** 23,35 **** * questions. */ package jdk.nashorn.internal.runtime.arrays; import static jdk.nashorn.internal.runtime.ECMAErrors.typeError; - import jdk.nashorn.internal.runtime.GlobalObject; import jdk.nashorn.internal.runtime.PropertyDescriptor; /** * ArrayData after the array has been frozen by Object.freeze call. */ --- 23,35 ---- * questions. */ package jdk.nashorn.internal.runtime.arrays; + import jdk.nashorn.internal.objects.Global; import static jdk.nashorn.internal.runtime.ECMAErrors.typeError; import jdk.nashorn.internal.runtime.PropertyDescriptor; /** * ArrayData after the array has been frozen by Object.freeze call. */
*** 42,52 **** public ArrayData copy() { return this; } @Override ! public PropertyDescriptor getDescriptor(final GlobalObject global, final int index) { return global.newDataDescriptor(getObject(index), false, true, false); } @Override public ArrayData set(final int index, final int value, final boolean strict) { --- 42,52 ---- public ArrayData copy() { return this; } @Override ! public PropertyDescriptor getDescriptor(final Global global, final int index) { return global.newDataDescriptor(getObject(index), false, true, false); } @Override public ArrayData set(final int index, final int value, final boolean strict) {