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

java.awt.PopupMenu does not behave correctly under CDE

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P2
    • Resolution: Fixed
    • Affects Version/s: 1.3.1_02
    • Fix Version/s: 1.3.1_10
    • Component/s: client-libs
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      10
    • CPU:
      sparc
    • OS:
      solaris_8

      Description

              With j2sdk 1.3.1_04-b02 or 1.3.1_02-b02 running with CDE on Solaris 8,
              Solaris 7 or Solaris 9 the PopupMenu class sometime makes a whole Java
              application to hang.

              To reproduce the problem, compile the two .java files in attachment
              and run the MainWindows class:

                      % javac MainWindows.java MMainFrame.java
                      % java MainWindows

              When the MainWindow shows up, right click on it: a popup menu
              appears with three items. Drag the mouse outside of the popup
              menu but keep it inside of the MainWindow. Right click again
              => the Java application hangs. It does not seem to receive any
              awt events anymore.

              Note 1: The same test-case works find with Java 1.1 and Java 1.2

              Note 2: On Solaris 9 the PopupMenu does not always show up. This
              is also a problem.

      Note 3: This problem does not show up on other platforms (AIX,
      HP-UX, Windows 2000)

      Thanks a lot for your support,
      Thierry.

        Attachments

          Activity

            People

            Assignee:
            prssunw Prs Prs (Inactive)
            Reporter:
            tmanfe Thierry Manfe
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: