JDK-7130656 : Some sun/tools/jcmd/* test fails on Windows
Type:Bug
Component:core-svc
Sub-Component:tools
Affected Version:7u4,8
Priority:P4
Status:Closed
Resolution:Duplicate
OS:generic,windows
CPU:generic
Submitted:2012-01-17
Updated:2023-12-14
Resolved:2014-01-20
The Version table provides details related to the release that this issue/RFE will be addressed.
Unresolved : Release in which this issue/RFE will be addressed. Resolved: Release in which this issue/RFE has been resolved. Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.
These tests fails on Windows
sun/tools/jcmd/jcmd-f.sh
sun/tools/jcmd/jcmd-help-help.sh
sun/tools/jcmd/jcmd-pid.sh
Comments
EVALUATION
Yikes! I missed the fact that these are new jcmd tests.
I haven't looked at these particular tests so I don't
know if these tests were written with MKS in mind at all.
In any case, here is a much older bug that shows the
same failure mode:
6977426 4/4 sun/tools tests can intermittently fail to find app's Java pid
19-01-2012
EVALUATION
This is the key output line:
> NFO: MKS shell pid=135220; Java pid=
This shows that MKS is being used to execute the
tests rather than Cygwin. I don't think those tests
support MKS anymore.
Marking as "incomplete" for now.