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

Iconifying and restoring the frame on consecutive calls does not work on Solaris

    XMLWordPrintable

Details

    • sparc
    • solaris_9

    Description

      I am setting the window state to iconified and restoring it back to NORMAL, after checking whether they are supported.

      On solaris, there is some synchronization issue where the frame never comes up when ICONIFIED and NORMAL states are set on the consecutive calls. When I give a sleep(100) in between the 2 setExtendedState() calls, it works fine. This is noticed on Solaris right from JDK1.4. On Win32 it works fine. I believe there is some delay in setting the 'ICONIFIED' state before which setExtendedState(NORMAL) gets executed. So frame remains iconified for ever.

      I have attached the testcase. Execute the testcase on Solaris. The frame has to get iconified and restored back to NORMAL. If you notice the frame being iconified for ever, the bug is reproduced.

      I tested this on Solaris_9 with CDE.

      Attachments

        Issue Links

          Activity

            People

              anthony Anthony Petrov (Inactive)
              pmohansunw Praveen Mohan (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: