United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
JDK-7179630 : SingleInstance Service broken

Details
Type:
Bug
Submit Date:
2012-06-25
Status:
Closed
Updated Date:
2013-12-04
Project Name:
JDK
Resolved Date:
2012-07-04
Component:
deploy
OS:
windows
Sub-Component:
webstart
CPU:
generic
Priority:
P2
Resolution:
Fixed
Affected Versions:
7u6
Fixed Versions:

Related Reports
Backport:

Sub Tasks

Description
run bugster twice from browser - you will get two instances of bugster.
Bugster uses the SingleInstanceService, and you should get only one instance.

When the native webstart code in system.c method sysWriteSocket, a call to send is made passing a UNICODE string.
in Java code in SingleInstanceImpl.java, this socket is read from, and normal string is expected, so compare fails.

                                    

Comments
verified with 8 b108
                                     
2013-12-04
EVALUATION

Fix includes the following:

When a client talks to the single instance server, it always send the encoding type as the first byte.
Server will create InputStreamReader and PrintStream based on the encoding type read from the first byte.
                                     
2012-06-29



Hardware and Software, Engineered to Work Together