I've noted this as well. We should probably store the port file in /tmp, instead of in the build directory.
/Magnus > 24 feb. 2016 kl. 19:17 skrev Andreas Lundblad <andreas.lundb...@oracle.com>: > >> On Wed, Feb 24, 2016 at 09:33:55AM +0100, Thomas Stüfe wrote: >> Just to add another small annoyance, it seems that if I build on Windows in >> cygwin and I cancel the build for whatever reason with CTRL+C, the sjavac >> server hangs and blocks the output directory. It takes some minutes for it >> to timeout, or I go hunting for the process in Process Explorer. > > Interesting. I don't know if there's an easy solution to this one. (I.e. if > there's a way to terminate the server upon Ctrl+C of make.) > > The sjavac server stops if the portfile is removed though, so a "make clean" > might do the trick. > > -- Andreas > >> I really like the sjavac server, it makes the builds much faster, but >> without these glitches I would like it even better :) >> >> On Wed, Feb 24, 2016 at 3:00 AM, David Holmes <david.hol...@oracle.com> >> wrote: >> >>> I just had a failed JPRT build on Solaris sparc caused by: >>> >>> === Output from failing command(s) repeated here === >>> /usr/ccs/bin/printf "* For target >>> support_test_hotspot_closed_tonga_dist_java_classes__the.BUILD_JAVA_TOOLS_classes_batch:\n" >>> >>> * For target >>> support_test_hotspot_closed_tonga_dist_java_classes__the.BUILD_JAVA_TOOLS_classes_batch: >>> (/usr/ccs/bin/ggrep -v -e "^Note: including file:" < >>> /opt/jprt/T/P1/001448.daholme/s/build/solaris-sparcv9-debug/make-support/failure-logs/support_test_hotspot_closed_tonga_dist_java_classes__the.BUILD_JAVA_TOOLS_classes_batch.log >>> || true) | /usr/ccs/bin/head -n 12 >>> Connection attempt failed: Connection refused >>> Connection attempt failed: Connection refused >>> Connection attempt failed: Connection refused >>> Giving up >>> [CLIENT] Exception caught: java.io.IOException: Could not connect to server >>> java.io.IOException: Could not connect to server >>> at >>> com.sun.tools.sjavac.client.SjavacClient.tryConnect(SjavacClient.java:183) >>> at >>> com.sun.tools.sjavac.client.SjavacClient.compile(SjavacClient.java:126) >>> at com.sun.tools.sjavac.client.ClientMain.run(ClientMain.java:84) >>> at com.sun.tools.sjavac.client.ClientMain.run(ClientMain.java:47) >>> at com.sun.tools.sjavac.Main.go(Main.java:56) >>> at com.sun.tools.sjavac.Main.main(Main.java:46) >>> >>> David >>>