JDK-8150070 : TESTBUG: com/sun/jdi tests fail on Cygwin but pass on MKS
  • Type: Bug
  • Component: core-svc
  • Sub-Component: debugger
  • Affected Version: 7,8
  • Priority: P4
  • Status: Closed
  • Resolution: Duplicate
  • OS: windows
  • CPU: generic
  • Submitted: 2016-02-17
  • Updated: 2016-03-30
  • Resolved: 2016-03-30
Related Reports
Duplicate :  
Description
Testsuite: Regression
Test names:
com/sun/jdi/ArrayLengthDumpTest.sh
com/sun/jdi/NotAField.sh
com/sun/jdi/Redefine-g.sh

JDK tested: JDK 8u82.

Bug is platform specific: Windows/Cygwin only. Passes on Windows MKS

Test bug.

Tests should be adapted to run with Cygwin.
Comments
Will be fixed as a backport of JDK-8145552
09-03-2016

http://mail.openjdk.java.net/pipermail/serviceability-dev/2016-February/018891.html
18-02-2016

Cygwin PID returned by "$!" and Windows PID returned by "tasklist" are not the same. That is why the test fails. Need to return to using cygwin "ps" or somehow convert cygwin PIDs to tasklist PIDS.
18-02-2016

Cannot be reproduced with JDK 9.
17-02-2016

The file to be fixed is test/com/sun/jdi/ShellScaffold.sh (shared code for all tests).
17-02-2016