-
Bug
-
Resolution: Fixed
-
P3
-
7
-
b85
-
generic
-
generic
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8141841 | emb-9 | Andy Herrick | P3 | Resolved | Fixed | team |
When uninstalling an application with an installer extension, or just uninstalling the jnlp file of type installer-desc, if the lap of that installer-desc says that it is installed, we use JnlpxArgs.execProgram() to exec new process that is that installer with the "uninstall" as argv[0].
we then wait for that process to complete.
we then update lap to indicate the installer is no longer installed.
As a result , if the process never completes (say till it is later killed), then we never mark the lap to say that extension is uninstalled. (or continue the original uninstall)
as a result of the above, if you then try run the original program again, it will not execute the extension installer (lap will still say that it is installed)
shouldn't we either:
1.) mark the lap as extension is uninstalled before exec of it's uninstaller, to indicate that we made good faith effort to uninstall the extension, or
2.) wait for the process for a finite length of time, then continue as if the uninstallation succeeded ?
(that is proceed to mark as uninstalled and remove resources)
we then wait for that process to complete.
we then update lap to indicate the installer is no longer installed.
As a result , if the process never completes (say till it is later killed), then we never mark the lap to say that extension is uninstalled. (or continue the original uninstall)
as a result of the above, if you then try run the original program again, it will not execute the extension installer (lap will still say that it is installed)
shouldn't we either:
1.) mark the lap as extension is uninstalled before exec of it's uninstaller, to indicate that we made good faith effort to uninstall the extension, or
2.) wait for the process for a finite length of time, then continue as if the uninstallation succeeded ?
(that is proceed to mark as uninstalled and remove resources)
- backported by
-
JDK-8141841 cache remove process depends on extension uninstallers to be "Well Behaved"
-
- Resolved
-
- relates to
-
JDK-8140193 JNLP Installer gets a wrong argument when uninstall
-
- Resolved
-