JDK-4764601 : Unsigned extension installer throws exception when Main.systemExit is called
  • Type: Bug
  • Component: deploy
  • Sub-Component: webstart
  • Affected Version: 1.4.2
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2002-10-17
  • Updated: 2002-11-19
  • Resolved: 2002-11-19
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.
Other
1.4.2 mantisFixed
Description
Since ExtensionInstallerServiceImpl now calls Main.systemExit, which itself
does things like reading properties and deleting files, we need to wrap
the call in a doPrivileged block since it can be called by an unsigned application.

Comments
CONVERTED DATA BugTraq+ Release Management Values COMMIT TO FIX: mantis FIXED IN: mantis INTEGRATED IN: mantis mantis-b08
31-08-2004

EVALUATION Will fix for Mantis. ###@###.### 2002-10-17
17-10-2002

SUGGESTED FIX ------- ExtensionInstallerServiceImpl.java ------- *** /tmp/geta6543 Thu Oct 17 14:00:55 2002 --- /tmp/getb6543 Thu Oct 17 14:00:55 2002 *************** *** 151,157 **** } } // Signal success ! Main.systemExit(0); } } --- 151,164 ---- } } // Signal success ! // this might call JnlpxArgs.removeArgumentFile so needs to be ! // privileged ! AccessController.doPrivileged(new PrivilegedAction() { ! public Object run() { ! Main.systemExit(0); ! return null; ! } ! }); } } ###@###.### 2002-10-17
17-10-2002