JDK-7179630 : SingleInstance Service broken
  • Type: Bug
  • Component: deploy
  • Sub-Component: webstart
  • Affected Version: 7u6
  • Priority: P2
  • Status: Closed
  • Resolution: Fixed
  • OS: windows
  • CPU: generic
  • Submitted: 2012-06-25
  • Updated: 2013-12-04
  • Resolved: 2012-07-04
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.
7u6Fixed 8 b46Fixed
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.

verified with 8 b108

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.