JDK-6697433 : b23- java console content isn't initially well formatted with OOPP
  • Type: Bug
  • Component: deploy
  • Sub-Component: plugin
  • Affected Version: 6u10
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • OS: windows
  • CPU: generic,x86
  • Submitted: 2008-05-04
  • Updated: 2010-09-08
  • Resolved: 2008-07-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.
JDK 6
6u10 b27Fixed
Related Reports
Duplicate :  
Duplicate :  
Relates :  
Relates :  
Description
6u10-b23 java console content isn't well formated initially. It is a regression from b22 and specific to OOPP (as it is OK  in b23- old Java-plugin mode).  We need a new line after "User home directory" line and  before the first "----"  (see attached screenshots for the demostration). This is a non-functional bug. 

Steps to reproduce:
------------------

- Enable "Show console" from JCP.
- Load any applet using 6u10-b23 

It is a different display initially between using old plug-in and new plug-in since b23.  
(for OOPP, to click on "Clear" button to get back to the expected format)

Comments
SUGGESTED FIX webrev: http://sa.sfbay.sun.com/projects/deployment_data/6u10/6697433.0 testcase: http://j2se.east.sun.com/deployment/www/tests/1.6.0_10/6697433/
13-06-2008

EVALUATION As part of the startup time optimizations done in 6668037 / 6678929, the initialization of the Java Console was made multithreaded in the new Java Plug-In. This caused a race condition between the console's initial display of the Java version and the help message, and the application's initial printouts to the console. To address this problem without losing the startup time benefits of asynchronously initializing the Java Console, changed the initial display of the version and the help to print directly to the console window, and deferred the hooking up of the console's trace listener, which is a preexisting mechanism which already buffers up the application's output before it is displayed to the console. This change requires the calling code to call the new plugin-specific JavaRunTime.installConsoleTraceListener(); modified both the old and the new plug-in to call this method appropriately. Tested on: - Windows, IE 7, old + new Java Plug-In - Windows, Firefox 3, old + new Java Plug-In - Solaris/x86, Firefox 2, old Java Plug-In - Solaris/x86, Firefox 3, new Java Plug-In
13-06-2008