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

Activating JMenu in Java2Demo.jar causes it to lock under Win32

    Details

    • Subcomponent:
      2d
    • Resolved In Build:
      beta
    • CPU:
      x86
    • OS:
      windows_95, windows_nt
    • Verification:
      Verified

      Description

      Build : 'G' (Does not fail in 'F')
      app : Java2Demo.jar
      OS : 95/98/NT

      By simply doing a mouseDrag over the JMenus in J2D you can get the app to hang.

      Steps:
      1. Activate the JMenu "File"...keep your mouse over "File" item
      2. drag your mouse over to the next JMenu item "Options"

      - if it doesn't hang by now simply hover your mouse over the two items back/forth and within just a couple dragovers it should lock.



      robert.h.kim@Eng 1999-06-22
      Here's the thread trace:
      Full thread dump:

      "TimerQueue" daemon prio=7 tid=0x7b74e0 nid=0xfffc3699 waiting on monitor [0x3daf000..0x3dafdbc]
      at java.lang.Object.wait(Native Method)
      at javax.swing.TimerQueue.run(..\..\..\..\src\share\classes\javax\swing\TimerQueue.java:236)
      at java.lang.Thread.run(..\..\..\..\..\..\src\share\classes\java\lang\Thread.java:479)

      "Thread-1" prio=5 tid=0x7b9500 nid=0xffff9fa1 waiting on monitor [0..0x63fbec]

      "Intro" prio=2 tid=0x7b8dc0 nid=0xfffc350d waiting on monitor [0x3c8f000..0x3c8fdbc]
      at java.lang.Thread.sleep(Native Method)
      at Intro$Surface.run(..\..\..\..\demo\jfc\Java2D\tmp\Intro.java:363)
      at java.lang.Thread.run(..\..\..\..\..\..\src\share\classes\java\lang\Thread.java:479)

      "Screen Updater" prio=4 tid=0x7b7120 nid=0xfffc2969 waiting on monitor [0x3b6f000..0x3b6fdbc]
      at java.lang.Object.wait(Native Method)
      at java.lang.Object.wait(..\..\..\..\..\..\src\share\classes\java\lang\Object.java:424)
      at sun.awt.ScreenUpdater.nextEntry(..\..\..\..\src\share\classes\sun\awt\ScreenUpdater.java:79)
      at sun.awt.ScreenUpdater.run(..\..\..\..\src\share\classes\sun\awt\ScreenUpdater.java:99)

      "AWT-Windows" prio=5 tid=0x76ede0 nid=0xfffd9385 runnable [0x3a4f000..0x3a4fdbc]
      at sun.awt.windows.WToolkit.eventLoop(Native Method)
      at sun.awt.windows.WToolkit.run(..\..\..\..\src\win32\classes\sun\awt\windows\WToolkit.java:122)
      at java.lang.Thread.run(..\..\..\..\..\..\src\share\classes\java\lang\Thread.java:479)

      "SunToolkit.PostEventQueue-0" prio=5 tid=0x76a1f0 nid=0xfffd9639 waiting on monitor [0x392f000..0x392fdbc]
      at java.lang.Object.wait(Native Method)
      at java.lang.Object.wait(..\..\..\..\..\..\src\share\classes\java\lang\Object.java:424)
      at sun.awt.PostEventQueue.run(..\..\..\..\src\share\classes\sun\awt\SunToolkit.java:409)

      "AWT-EventQueue-0" prio=7 tid=0x76a3e0 nid=0xfffd94ad runnable [0x380f000..0x380fdbc]
      at sun.awt.windows.WGraphics.W32LockViewResources(Native Method)
      at sun.awt.windows.WGraphics.lock(..\..\..\..\src\win32\classes\sun\awt\windows\WGraphics.java:769)
      at sun.java2d.loops.LockableRaster.<init>(..\..\..\..\src\share\classes\sun\java2d\loops\LockableRaster.java:97)
      at sun.java2d.loops.RasterOutputManager$RenderImageCachedState.getDstLR(..\..\..\..\src\share\classes\sun\java2d\loops\RasterOutputManager.java:367)
      at sun.java2d.loops.RasterOutputManager.renderImage(..\..\..\..\src\share\classes\sun\java2d\loops\RasterOutputManager.java:478)
      at sun.java2d.SunGraphics2D.renderingPipeImage(..\..\..\..\src\share\classes\sun\java2d\SunGraphics2D.java:2049)
      at sun.java2d.SunGraphics2D.drawImage(..\..\..\..\src\share\classes\sun\java2d\SunGraphics2D.java:1633)
      at sun.awt.windows.WGraphics.drawImage(..\..\..\..\src\win32\classes\sun\awt\windows\WGraphics.java:356)
      at javax.swing.JComponent.paintWithBuffer(..\..\javax\swing\1.2_src\javax\swing\JComponent.java:4231)
      at javax.swing.JComponent._paintImmediately(..\..\javax\swing\1.2_src\javax\swing\JComponent.java:4174)
      at javax.swing.JComponent.paintImmediately(..\..\javax\swing\1.2_src\javax\swing\JComponent.java:4024)
      at javax.swing.RepaintManager.paintDirtyRegions(..\..\..\..\src\share\classes\javax\swing\RepaintManager.java:372)
      at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(..\..\javax\swing\1.2_src\javax\swing\SystemEventQueueUtilities.java:191)
      at javax.swing.SystemEventQueueUtilities.processRunnableEvent(..\..\javax\swing\1.2_src\javax\swing\SystemEventQueueUtilities.java:369)
      at javax.swing.SystemEventQueueUtilities.access$000(..\..\javax\swing\1.2_src\javax\swing\SystemEventQueueUtilities.java:39)
      at javax.swing.SystemEventQueueUtilities$RunnableTarget.processEvent(..\..\javax\swing\1.2_src\javax\swing\SystemEventQueueUtilities.java:406)
      at java.awt.Component.dispatchEventImpl(..\..\..\..\src\share\classes\java\awt\Component.java:2493)
      at java.awt.Component.dispatchEvent(..\..\..\..\src\share\classes\java\awt\Component.java:2406)
      at java.awt.EventQueue.dispatchEvent(..\..\..\..\src\share\classes\java\awt\EventQueue.java:302)
      at java.awt.EventDispatchThread.pumpOneEvent(..\..\..\..\src\share\classes\java\awt\EventDispatchThread.java:105)
      at java.awt.EventDispatchThread.pumpEvents(..\..\..\..\src\share\classes\java\awt\EventDispatchThread.java:95)
      at java.awt.EventDispatchThread.run(..\..\..\..\src\share\classes\java\awt\EventDispatchThread.java:86)

      "Signal Dispatcher" daemon prio=10 tid=0x765d20 nid=0xfffc7255 waiting on monitor [0..0]

      "Finalizer" daemon prio=9 tid=0x763690 nid=0xfffc76bd waiting on monitor [0x2f8f000..0x2f8fdbc]
      at java.lang.Object.wait(Native Method)
      at java.lang.ref.ReferenceQueue.remove(..\..\..\..\..\..\src\share\classes\java\lang\ref\ReferenceQueue.java:112)
      at java.lang.ref.ReferenceQueue.remove(..\..\..\..\..\..\src\share\classes\java\lang\ref\ReferenceQueue.java:127)
      at java.lang.ref.Finalizer$FinalizerThread.run(..\..\..\..\..\..\src\share\classes\java\lang\ref\Finalizer.java:166)

      "Reference Handler" daemon prio=10 tid=0x763100 nid=0xfffc2361 waiting on monitor [0x2e6f000..0x2e6fdbc]
      at java.lang.Object.wait(Native Method)
      at java.lang.Object.wait(..\..\..\..\..\..\src\share\classes\java\lang\Object.java:424)
      at java.lang.ref.Reference$ReferenceHandler.run(..\..\..\..\..\..\src\share\classes\java\lang\ref\Reference.java:114)

      "VM Thread" prio=5 tid=0x7626b0 nid=0xfffc2615 runnable

      "VM Periodic Task Thread" prio=10 tid=0x765f60 nid=0xfffc7069 waiting on monitor

        Attachments

          Activity

            People

            • Assignee:
              dfeldsunw Dmitry Feld (Inactive)
              Reporter:
              rckim Robert Kim (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Imported:
                Indexed: