test/com/sun/jdi/connect/spi/JdiLoadedByCustomLoader.sh

Print this page

        

@@ -49,11 +49,11 @@
     PS=":"
     ;;
   Linux )
     PS=":"
     ;;
-  Windows* )
+  Windows* | CYGWIN*)
     PS=";"
     ;;
   * )
     echo "Unrecognized system!"
     exit 1;

@@ -69,11 +69,11 @@
 # any class path.
 
 $JAVAC -d "${TESTCLASSES}" "${TESTSRC}"/JdiLoadedByCustomLoader.java
 
 mkdir "${SOMEOTHERDIR}"
-$JAVAC -d "${SOMEOTHERDIR}" -classpath ${TESTSRC}${PS}${TESTJAVA}/lib/tools.jar \
+$JAVAC -d "${SOMEOTHERDIR}" -classpath "${TESTSRC}${PS}${TESTJAVA}/lib/tools.jar" \
     "${TESTSRC}"/ListConnectors.java
 
 # Run the test 
 
 "${JAVA}" -classpath "${TESTCLASSES}" JdiLoadedByCustomLoader \