src/jdk/nashorn/internal/runtime/arrays/FrozenArrayFilter.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 frozen by Object.freeze call.
  */

@@ -42,11 +42,11 @@
     public ArrayData copy() {
         return this;
     }
 
     @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, false);
     }
 
     @Override
     public ArrayData set(final int index, final int value, final boolean strict) {