-
Bug
-
Resolution: Fixed
-
P4
-
13
-
b02
-
x86
-
windows_nt
Filed on behalf of Sergei Ustimenko (merkel05@gmail.com).
In JDK9, the patch forJDK-8025886 fixed jdk/test/sun/management/jmxremote/bootstrap/GeneratePropertyPassword.sh to not use '==' bash syntax, but the patch didn't make it into newer releases. See http://hg.openjdk.java.net/jdk9/jdk9/jdk/rev/a2551e12a9ea for the trivial patch:
-if [[ $OS == CYGWIN_NT* ]] ; then
+case $OS in
+CYGWIN_NT*)
OS="Windows_NT"
if [ -z "$SystemRoot" ] ; then
- SystemRoot=$SYSTEMROOT
+ SystemRoot=$SYSTEMROOT
fi
-fi
+esac
In JDK9, the patch for
-if [[ $OS == CYGWIN_NT* ]] ; then
+case $OS in
+CYGWIN_NT*)
OS="Windows_NT"
if [ -z "$SystemRoot" ] ; then
- SystemRoot=$SYSTEMROOT
+ SystemRoot=$SYSTEMROOT
fi
-fi
+esac
- relates to
-
JDK-8192953 sun/management/jmxremote/bootstrap/*.sh tests fail with error : revokeall.exe: Permission denied
- Closed
-
JDK-8025886 replace [[ and == bash extensions in regtest
- Resolved