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

Print this page

        

@@ -23,13 +23,13 @@
  * 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.GlobalObject;
 import jdk.nashorn.internal.runtime.PropertyDescriptor;
 
 /**
  * ArrayData after the array has been sealed by Object.seal call.
  */

@@ -60,9 +60,9 @@
     public boolean canDelete(final long fromIndex, final long toIndex, final boolean strict) {
         return canDelete((int) fromIndex, strict);
     }
 
     @Override
-    public PropertyDescriptor getDescriptor(final GlobalObject global, final int index) {
+    public PropertyDescriptor getDescriptor(final Global global, final int index) {
         return global.newDataDescriptor(getObject(index), false, true, true);
     }
 }