JDK-7142007 : DT no-codebase launch file corrupted
  • Type: Bug
  • Component: deploy
  • Sub-Component: deployment_toolkit
  • Affected Version: 8
  • Priority: P2
  • Status: Closed
  • Resolution: Fixed
  • OS: windows
  • CPU: x86
  • Submitted: 2012-02-02
  • Updated: 2013-09-12
  • Resolved: 2012-05-10
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.
JDK 7 JDK 8
7u4Fixed 8 b25Fixed
Description
DT no-codebase launch file corrupted

we did not write out correct number of bytes

Comments
EVALUATION while testing fix for 7141458: dtjava.launch for webstart application does not work, discovered 2 more problems: 1. number of bytes to write passed to WriteFile is in-correct. we did not take into account size different of char and tchar. 2. conversion of VARIANT to bstr will crash if VARIANT is undefined (ERROR). Fixing both isses. testcase: http://learnjavafx.typepad.com/weblog/rich-client-java.html (or any DT webstart launch case that uses url param only )
02-02-2012