--- old/src/jdk/nashorn/internal/objects/Global.java 2016-01-20 14:14:42.647064451 +0100 +++ new/src/jdk/nashorn/internal/objects/Global.java 2016-01-20 14:14:42.563064452 +0100 @@ -1096,8 +1096,6 @@ return new NativeArray(ArrayData.allocate((Object[])obj), this); } else if (obj instanceof double[]) { // extension return new NativeArray(ArrayData.allocate((double[])obj), this); - } else if (obj instanceof long[]) { - return new NativeArray(ArrayData.allocate((long[])obj), this); } else if (obj instanceof int[]) { return new NativeArray(ArrayData.allocate((int[]) obj), this); } else if (obj instanceof ArrayData) { @@ -1965,16 +1963,6 @@ } /** - * Allocate a new long array. - * - * @param initial number values. - * @return the new array - */ - public static NativeArray allocate(final long[] initial) { - return new NativeArray(ArrayData.allocate(initial)); - } - - /** * Allocate a new integer array. * * @param initial number values. @@ -2263,7 +2251,6 @@ new Specialization[] { new Specialization(GlobalFunctions.PARSEINT_Z), new Specialization(GlobalFunctions.PARSEINT_I), - new Specialization(GlobalFunctions.PARSEINT_J), new Specialization(GlobalFunctions.PARSEINT_OI), new Specialization(GlobalFunctions.PARSEINT_O) }); this.parseFloat = ScriptFunction.createBuiltin("parseFloat", GlobalFunctions.PARSEFLOAT);