Java Solaris Communities Sun Store Join SDN My Profile Why Join?
 
Bug Database
Bug Detail
Quick Lists
Top 25 Bugs
Top 25 RFE's
Recently Closed Bugs
Printable Page Printable Page


Bug Database
Bug ID: 6697433
Votes 0
Synopsis b23- java console content isn't initially well formatted with OOPP
Category java_plugin:plugin2
Reported Against
Release Fixed 6u10(b27)
State 10-Fix Delivered, bug
Priority: 4-Low
Related Bugs 6668037 , 6678929 , 6704812
Submit Date 04-MAY-2008
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)
Posted Date : 2008-05-04 23:54:45.0
Work Around
N/A
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
Posted Date : 2008-06-13 00:27:19.0
Comments
  
  Include a link with my name & email   


PLEASE NOTE: JDK6 is formerly known as Project Mustang