Hi all,
Running make/ant on Windows fails because of two reasons:
1 - In JDK-8050964.js, it assumes jdk_home/bin/jdeps exists, however it
should have .exe extension, the below patch will not work since
string.toLowerCase() is somehow not recognized in the test suite, but I guess
you would have an idea.
diff --git a/test/script/nosecurity/JDK-8050964.js
b/test/script/nosecurity/JDK-8050964.js---
a/test/script/nosecurity/JDK-8050964.js+++
b/test/script/nosecurity/JDK-8050964.js@@ -47,9 +47,10 @@ } var javahome =
System.getProperty("java.home");-var jdepsPath = javahome +
"/../bin/jdeps".replace(/\//g, File.separator);+var extension =
System.getProperty("os.home").toLowerCase().contains("win") ? ".exe" : "";+var
jdepsPath = javahome + "/../bin/jdeps".replace(/\//g, File.separator) +
extension; if (! new File(jdepsPath).isFile()) {- jdepsPath = javahome +
"/bin/jdeps".replace(/\//g, File.separator);+ jdepsPath = javahome +
"/bin/jdeps".replace(/\//g, File.separator) + extension; } // run jdep on
nashorn.jar - only summary but print profile info
2 - C:\use\nashorn\make\build.xml:214: Javadoc failed: java.io.IOException:
Cannot run program "C:\use\jdk8\bin\javadoc.exe": CreateProcess error=206, The
filename or extension is too long
Even though JDK_HOME in c:\use\jdk8, nashorn in c:\use\nashorn
Thanks,Ahmed