JDK-4729230 : loging to "TEMP" file does not work
  • Type: Bug
  • Component: deploy
  • Sub-Component: webstart
  • Affected Version: 1.2.0
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • OS: windows_nt
  • CPU: x86
  • Submitted: 2002-08-09
  • Updated: 2003-04-12
  • Resolved: 2002-10-07
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.
Other
1.4.2 mantisFixed
Description
Console.java implementa a function whereby if the log to filename is "TEMP",
then a new unique temp file will be created for each javaws process started, and
is supposed to contain the logging output.
Unfortunately in 1.0.1 and 1.2 the file is created but no output is put in it.

Comments
CONVERTED DATA BugTraq+ Release Management Values COMMIT TO FIX: mantis mantis-b02 FIXED IN: mantis mantis-b02 INTEGRATED IN: mantis mantis-b02
31-08-2004

SUGGESTED FIX in initFileLogging(): 138c138,140 < _logFile=File.createTempFile("JaWS",".log"); --- > _logFile=File.createTempFile("javaws",".log"); > _filePrintStream = new PrintStream(new FileOutputStream(_logFile)); > msg = Resources.getString("console.logfilemsg",_logFile.toString());
31-08-2004

EVALUATION caused by code in initFileLogging() failing to create _filePrintStream if name is "TEMP". see suggested fix ###@###.### 2002-08-09
09-08-2002