RFR: 8042810: (s) hgforest: some shells run read in sub-shell and can't use fifo

Mike Duigou mike.duigou at oracle.com
Fri May 9 02:19:50 UTC 2014


Hello all;

This issue is a follow-on bug fix to JDK-8041151 (Improve hgforest.sh concurrency). That changeset introduced use of fifos for monitoring sub-shell completion and included an alternative implementation for configurations which did not properly support fifos. This changeset detects another unsupported configuration, older shells which run the "read" command using a sub-shell.

I've tested the change on Solaris 10u11, Solaris 11u1, Ubuntu Linux 13.10 x64, MacOS 10.9. Of these only the Bash 3.2 shell on Solaris 10u11 does not support FIFOs. I have not tested this specific change on Cygwin as FIFOs were already disabled on Cygwin.

https://bugs.openjdk.java.net/browse/JDK-8042810
http://cr.openjdk.java.net/~mduigou/JDK-8042810/0/webrev/

Mike


More information about the build-dev mailing list