-
Bug
-
Resolution: Fixed
-
P2
-
6u10
Description - Java Console can not be closed or invoked through system tray icon
Steps to reproduce:
Test 1:
Open Java Control Panel and enable the Java Console
Install b12 pit bundles from the following location:
http://j2se.east/plugin/1.6.0_10-pit/2008-02-05/windows-i586/
Invoke any applet, for ex. from java.sun.com at:
http://java.sun.com/products/plugin/1.5.0/demos/plugin/applets.html
Try to close the java console.
Actual Behavior - Java Console can not be closed
The following exceptions are thrown:
Exception in thread "AWT-EventQueue-1" java.lang.ClassCastException: com.sun.deploy.services.WPlatformService cannot be cast to sun.plugin.services.BrowserService
at sun.plugin2.main.client.Plugin2ConsoleController.isIconifiedOnClose(Unknown Source)
at com.sun.deploy.util.ConsoleWindow$24.windowClosing(Unknown Source)
at java.awt.AWTEventMulticaster.windowClosing(Unknown Source)
at java.awt.Window.processWindowEvent(Unknown Source)
at javax.swing.JFrame.processWindowEvent(Unknown Source)
at java.awt.Window.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
Test 2:
Disable Java Console through Java Control Panel
Invoke any applet
Try to open the java console through the system tray java icon
Actual behavior - Java Console does not come up.
Note: Tried with old plugin and this problem is not there.
Steps to reproduce:
Test 1:
Open Java Control Panel and enable the Java Console
Install b12 pit bundles from the following location:
http://j2se.east/plugin/1.6.0_10-pit/2008-02-05/windows-i586/
Invoke any applet, for ex. from java.sun.com at:
http://java.sun.com/products/plugin/1.5.0/demos/plugin/applets.html
Try to close the java console.
Actual Behavior - Java Console can not be closed
The following exceptions are thrown:
Exception in thread "AWT-EventQueue-1" java.lang.ClassCastException: com.sun.deploy.services.WPlatformService cannot be cast to sun.plugin.services.BrowserService
at sun.plugin2.main.client.Plugin2ConsoleController.isIconifiedOnClose(Unknown Source)
at com.sun.deploy.util.ConsoleWindow$24.windowClosing(Unknown Source)
at java.awt.AWTEventMulticaster.windowClosing(Unknown Source)
at java.awt.Window.processWindowEvent(Unknown Source)
at javax.swing.JFrame.processWindowEvent(Unknown Source)
at java.awt.Window.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
Test 2:
Disable Java Console through Java Control Panel
Invoke any applet
Try to open the java console through the system tray java icon
Actual behavior - Java Console does not come up.
Note: Tried with old plugin and this problem is not there.
- duplicates
-
JDK-6659803 Unable to close the Java Console when applet is launched using old plugin for PIT build 6u10-b12
-
- Closed
-
-
JDK-6661382 ClassCaseException - WPlatformService to BrowserService while Open and Hide console
-
- Closed
-
-
JDK-6659619 Plugin2: Dialog popped up when left clicking Red x box
-
- Closed
-
- relates to
-
JDK-6659026 6u10(Nightly) : Jar cache versioning is not working with latest nightly bundles
-
- Closed
-
-
JDK-6606784 Add support for launching applets from JNLP files
-
- Closed
-