8191133: Ant task to fetch underscore.js requires gzip decoding option
Reviewed-by: sundar, jlaskey
--- a/make/nashorn/build.xml Tue Nov 14 12:10:28 2017 +0100
+++ b/make/nashorn/build.xml Tue Nov 14 14:18:23 2017 +0100
@@ -830,8 +830,8 @@
<!-- underscorejs -->
<mkdir dir="${test.external.dir}/underscore"/>
- <get src="http://underscorejs.org/underscore.js" dest="${test.external.dir}/underscore" skipexisting="true" ignoreerrors="true"/>
- <get src="http://underscorejs.org/underscore-min.js" dest="${test.external.dir}/underscore" skipexisting="true" ignoreerrors="true"/>
+ <get src="http://underscorejs.org/underscore.js" dest="${test.external.dir}/underscore" skipexisting="true" ignoreerrors="true" tryGzipEncoding="true"/>
+ <get src="http://underscorejs.org/underscore-min.js" dest="${test.external.dir}/underscore" skipexisting="true" ignoreerrors="true" tryGzipEncoding="true"/>
<!-- yui -->
<mkdir dir="${test.external.dir}/yui"/>