JDK-6903282 : java plugin should not be writing to java_install_reg.log
  • Type: Bug
  • Component: deploy
  • Sub-Component: deployment_toolkit
  • Affected Version: 6
  • Priority: P2
  • Status: Closed
  • Resolution: Fixed
  • OS: windows
  • CPU: generic
  • Submitted: 2009-11-20
  • Updated: 2013-11-01
  • Resolved: 2010-01-13
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 6 JDK 7
6u18 b06Fixed 7Fixed
Description
Logging functionality built into RegCommon.cpp is in fact applicable to not install scenarios.
We need to make sure that no logging is performed for normal startup.

At the moment every time plugin is launched about 1k of data is appended to the 
%TEMP%\java_install_reg.log

This seems to be mostly records of 2 types - loading Jqs settings and call to shouldPromptForUpdateCheck.

Comments
SUGGESTED FIX http://sa.sfbay.sun.com/projects/deployment_data/6u18/6903282.0
24-11-2009

EVALUATION As short term solution we should just remove loggin from these 2 calls. In longer term we need to make sure that installer-specific logging does not affect normal runs!
20-11-2009