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

Print this page

        

*** 25,35 **** package jdk.nashorn.internal.runtime.arrays; import java.lang.invoke.MethodHandle; import java.nio.ByteBuffer; ! import jdk.nashorn.internal.runtime.GlobalObject; import jdk.nashorn.internal.runtime.JSType; import jdk.nashorn.internal.runtime.PropertyDescriptor; /** * ArrayData - abstraction for wrapping array elements --- 25,35 ---- package jdk.nashorn.internal.runtime.arrays; import java.lang.invoke.MethodHandle; import java.nio.ByteBuffer; ! import jdk.nashorn.internal.objects.Global; import jdk.nashorn.internal.runtime.JSType; import jdk.nashorn.internal.runtime.PropertyDescriptor; /** * ArrayData - abstraction for wrapping array elements
*** 397,407 **** * @param global the global object * @param index the index * * @return property descriptor for element */ ! public PropertyDescriptor getDescriptor(final GlobalObject global, final int index) { return global.newDataDescriptor(getObject(index), true, true, true); } /** * Delete an array value at the given index, substituting --- 397,407 ---- * @param global the global object * @param index the index * * @return property descriptor for element */ ! public PropertyDescriptor getDescriptor(final Global global, final int index) { return global.newDataDescriptor(getObject(index), true, true, true); } /** * Delete an array value at the given index, substituting