8064705: Build breaking warning in LengthNotWritableFilter
Reviewed-by: hannesw, attila
--- 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) {