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

AWT_SWT/Manual/FrameMethods fails: The frame changes when clicking the button 'dispose'

    Details

    • Subcomponent:
    • CPU:
      x86, sparc
    • OS:
      linux_ubuntu, solaris_10

      Description

      JDK : JDK1.6.0_10 b32
      Platforms[s] : sparcv9 - solaris10 - jvm32
      testbase : /net/vice.russia/export/home0/dtf/dtf_ws/suites/6.0/awt/
      ============================================================================
      # Steps to reproduce:
      Click the button labeled 'dispose'. Now minimize the frame and restore it. The frame should appear exactly the same way how it looked before clicking the button. If it is not so, press assertion failed and enter appropriate remarks

      # Actual behavior:
      The frame changes when clicking the button 'dispose'

      # Exceptions:
      None


      ============================================================================

      Not a regression

      Tested on 1.6.0_10 b31 and 1.6.0_10 b30, 1.6.0_08 b01, fcs

      ============================================================================
      You can find results here:
      http://stt-13.russia/results/1.6.0_10/b32_j4b/awt/sparcv9-solaris10-32jvm/
      This doesn't look like a problem with the test. Calling dispose on a Frame embedded in swt shell disposes it. It doesn't look valid to call dispose on an embedded frame. Should it throw an exception or do nothing if dispose is called?

      I've attached the test.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              ampopov Alexander Popov (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Imported:
                Indexed: