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

java.awt.PopupMenu does not behave correctly under CDE

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P2 P2
    • 1.3.1_10
    • 1.3.1_02
    • client-libs
    • 10
    • sparc
    • solaris_8

              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.

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: