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

Option v to dump thread stack on Java console does not work on unix

XMLWordPrintable

    • b135
    • generic
    • other
    • Verified

      Pressing v on Java console to get the thread dump is resulting into following exception on unix platforms(linux and solaris)

      Exception in thread "AWT-EventQueue-1" java.lang.UnsatisfiedLinkError: com.sun.deploy.uitoolkit.ui.ConsoleHelper.dumpAllStacksImpl()Ljava/lang/String;
      at com.sun.deploy.uitoolkit.ui.ConsoleHelper.dumpAllStacksImpl(Native Method)
      at com.sun.deploy.uitoolkit.ui.ConsoleHelper.dumpAllStacks(Unknown Source)
      at com.sun.deploy.uitoolkit.impl.awt.ui.SwingConsoleWindow$2.actionPerformed(Unknown Source)
      at javax.swing.JComponent$ActionStandin.actionPerformed(JComponent.java:3422)
      at javax.swing.SwingUtilities.notifyAction(SwingUtilities.java:1650)
      at javax.swing.JComponent.processKeyBinding(JComponent.java:2879)
      at javax.swing.KeyboardManager.fireBinding(KeyboardManager.java:306)
      at javax.swing.KeyboardManager.fireKeyboardAction(KeyboardManager.java:250)
      at javax.swing.JComponent.processKeyBindingsForAllComponents(JComponent.java:2971)
      at javax.swing.JComponent.processKeyBindings(JComponent.java:2963)
      at javax.swing.JComponent.processKeyEvent(JComponent.java:2842)
      at java.awt.Component.processEvent(Component.java:6214)
      at java.awt.Container.processEvent(Container.java:2213)
      at java.awt.Component.dispatchEventImpl(Component.java:4793)
      at java.awt.Container.dispatchEventImpl(Container.java:2271)
      at java.awt.Component.dispatchEvent(Component.java:4619)
      at java.awt.KeyboardFocusManager.redispatchEvent(KeyboardFocusManager.java:1908)
      at java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(DefaultKeyboardFocusManager.java:752)
      at java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(DefaultKeyboardFocusManager.java:1017)
      at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(DefaultKeyboardFocusManager.java:889)
      at java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFocusManager.java:717)
      at java.awt.Component.dispatchEventImpl(Component.java:4663)
      at java.awt.Container.dispatchEventImpl(Container.java:2271)
      at java.awt.Window.dispatchEventImpl(Window.java:2677)
      at java.awt.Component.dispatchEvent(Component.java:4619)
      at java.awt.EventQueue.dispatchEvent(EventQueue.java:662)
      at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:211)
      at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:128)
      at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:117)
      at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:113)
      at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:105)
      at java.awt.EventDispatchThread.run(EventDispatchThread.java:90)

      Steps to reproduce:
      ------------------
      1) Register firefox with latest JDK7 build and run any applet with Show Java console or with property deployment.console.startup.mode set to SHOW
      2) Press v on the Java console, if above mentioned exception is getting raised then bug is reproduced

            herrick Andy Herrick (Inactive)
            jijising Jitender Singh (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: