United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: 4764601 Unsigned extension installer throws exception when Main.systemExit is called
4764601 : Unsigned extension installer throws exception when Main.systemExit is called

Details
Type:
Bug
Submit Date:
2002-10-17
Status:
Resolved
Updated Date:
2002-11-19
Project Name:
JDK
Resolved Date:
2002-11-19
Component:
deploy
OS:
generic
Sub-Component:
webstart
CPU:
generic
Priority:
P4
Resolution:
Fixed
Affected Versions:
1.4.2
Fixed Versions:
1.4.2

Related Reports

Sub Tasks

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


                                     
2004-08-31
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
                                     
2002-10-17
EVALUATION

Will fix for Mantis.

###@###.### 2002-10-17
                                     
2002-10-17



Hardware and Software, Engineered to Work Together