8064705: Build breaking warning in LengthNotWritableFilter
authorlagergren
Wed, 12 Nov 2014 14:40:05 +0100
changeset 27526 1ed00adaaed0
parent 27525 e7d3c00b9fb8
child 27527 c2e4499ac40a
8064705: Build breaking warning in LengthNotWritableFilter Reviewed-by: hannesw, attila
nashorn/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/arrays/LengthNotWritableFilter.java
--- a/nashorn/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/arrays/LengthNotWritableFilter.java	Wed Nov 12 14:12:01 2014 +0100
+++ b/nashorn/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/arrays/LengthNotWritableFilter.java	Wed Nov 12 14:40:05 2014 +0100
@@ -19,7 +19,7 @@
      * @param underlying array
      */
     LengthNotWritableFilter(final ArrayData underlying) {
-        this(underlying, new TreeMap<>());
+        this(underlying, new TreeMap<Long, Object>());
     }
 
     private LengthNotWritableFilter(final ArrayData underlying, final SortedMap<Long, Object> extraElements) {