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

Win32: assertion failure when disposing hidden Dialog

XMLWordPrintable

    • 1.2fcs
    • x86
    • windows_nt
    • Not verified

      Component.removeNotify unconditionally hides the peer object before calling
      dispose() on it. In the case of a modal dialog which has already been hidden,
      this can cause an assertion failure under java_g int AwtDialog::WmEndModal.

          ASSERT( ::IsWindowVisible( GetHWnd() ) );

      Instead of unconditionally hiding the Dialog, Component.removeNotify should
      test the Dialog's "visible" flag before calling peer.hide().

            dmendenhsunw David Mendenhall (Inactive)
            dmendenhsunw David Mendenhall (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: