changeset 1101:91d9969f2574

8064705: Build breaking warning in LengthNotWritableFilter Reviewed-by: hannesw, attila
author lagergren
date Wed, 12 Nov 2014 14:40:05 +0100
parents be3f5ca1edbf
children ee608f19cc48
files src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/arrays/LengthNotWritableFilter.java
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/arrays/LengthNotWritableFilter.java	Wed Nov 12 14:12:01 2014 +0100
+++ b/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) {