Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-6659532

PIT b12: Java Console can not be closed or invoked through system tray icon

    XMLWordPrintable

Details

    • b12
    • b13
    • generic, x86
    • generic, windows, windows_vista
    • Verified

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              kbr Kenneth Russell (Inactive)
              anprabha Anjana Prabhakar (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: