JDK-8000295 : UnregisterDeploy needs to wait for jqs.exe to be deleted
  • Type: Backport
  • Backport of: JDK-7189731
  • Component: deploy
  • Sub-Component: deployment_toolkit
  • Affected Version: 7,8
  • Priority: P2
  • Status: Closed
  • Resolution: Fixed
  • Submitted: 2012-10-01
  • Updated: 2013-09-12
  • Resolved: 2012-10-02
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.

To download the current JDK release, click here.
7u10 b12Fixed 8Fixed
CR 7178553 added a call to RegisterDeploy(FALSE, szJavaHome)

The evaluation of CR 7185202 showed that jqs.exe was still running when trying to patch files.

Actual: jqs.exe running after RegisterDeploy(FALSE, szJavaHome) returns
Expected: jqs.exe is no longer running and "Java Quick Starter" service has been deleted

Test for this bug would require a unit test deep inside the wrapper, beyond the ability of SQE. However the CONSEQUENCE of the bug is easily seen when it fails from existing tests so is covered

resetting to correct state values.