src/jdk/nashorn/internal/objects/NativeArray.java

Print this page

        

*** 154,167 **** } // initialized by nasgen private static PropertyMap $nasgenmap$; - static PropertyMap getInitialMap() { - return $nasgenmap$; - } - /* * Constructors. */ NativeArray() { this(ArrayData.initialArray()); --- 154,163 ----
*** 206,216 **** NativeArray(final ArrayData arrayData) { this(arrayData, Global.instance()); } NativeArray(final ArrayData arrayData, final Global global) { ! super(global.getArrayPrototype(), getInitialMap()); this.setArray(arrayData); this.setIsArray(); } @Override --- 202,212 ---- NativeArray(final ArrayData arrayData) { this(arrayData, Global.instance()); } NativeArray(final ArrayData arrayData, final Global global) { ! super(global.getArrayPrototype(), $nasgenmap$); this.setArray(arrayData); this.setIsArray(); } @Override