RFR: 8046883 com/sun/jdi/ProcessAttachTest.sh gets "java.io.IOException: Invalid process identifier" on windows
Staffan Larsen
staffan.larsen at oracle.com
Tue Jun 17 08:24:12 UTC 2014
This is yet another fallout of the bug in the ps command in cygwin that causes it to sometimes miss process in the list.
In this case I cannot use jps to list the processes since one of the test cases launches jdwp with suspend=y which suspends the VM before it is visible to jps. Instead I retry the ps command 10 times hoping that it works eventually.
webrev: http://cr.openjdk.java.net/~sla/8046883/webrev.00/test/com/sun/jdi/ProcessAttachTest.sh.sdiff.html
bug: https://bugs.openjdk.java.net/browse/JDK-8046883
Thanks,
/Staffan
More information about the serviceability-dev
mailing list