United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: 7177514 Multiple instances of the Java Updater.app can be started
7177514 : Multiple instances of the Java Updater.app can be started

Details
Type:
Bug
Submit Date:
2012-06-15
Status:
Resolved
Updated Date:
2012-06-20
Project Name:
JDK
Resolved Date:
2012-06-20
Component:
deploy
OS:
os_x
Sub-Component:
deployment_toolkit
CPU:
x86
Priority:
P2
Resolution:
Fixed
Affected Versions:
7u4
Fixed Versions:
8

Related Reports
Backport:

Sub Tasks

Description
It's possible for multiple copies of Java Updater.app to be started at the same time. This is bad, because Sparkle doesn't know if other instances of the app are running, and both will attempt to update at the same time. At the very least it will fail, and at the worst it can lead to a corrupted update.

1. Install the 7u6 runtime, build 372 or later from <http://rehudson.us.oracle.com:8080/hudson/job/jdk-2-build-mac-universal-deploy/>. Ensure you are connected to Oracle's network so the update attempt will happen.
2. Launch the Java Control Panel. Use either System Preferences or the command line:
/Library/Internet\ Plug-Ins/JavaAppletPlugin.plugin/Contents/Home/bin/jcontrol 
3. Start Safari and load any page with an applet.
---> Two instances of Java Updater appear in the dock.

Expected: Only one instance running at a time.

                                    

Comments
EVALUATION

Fix is simple -- add LSMultipleInstancesProhibited to the Info.plist for the updater.
                                     
2012-06-15



Hardware and Software, Engineered to Work Together