scala/scala — pull request #1223 by som-snytt (2012-08-31 18:34:55+00:00)
Title: On --grep, partest must dir.list to descend into subdirs (fixes SI-6296)

In addition, always use UTF-8 when reading test files (and not default),
since some tests exercise UTF-8.

Also, quote "$JAVACMD" and convert it (and $JAVA_HOME) for cygwin, where
$JAVACMD is likely to include a space.

Review by @paulp or @axel22