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

assertion failure on win32 when drawing Lists/Choices

    Details

    • Subcomponent:
    • Resolved In Build:
      b01
    • CPU:
      x86
    • OS:
      windows_nt
    • Verification:
      Not verified

      Backports

        Description

        When handling the WmDrawItem message for Lists and Choices (in AwtComponent::
        DrawListItem), the DRAWITEMSTRUCT itemID field may be -1 to indicate that only
        the focus rectangle should be drawn. The code does not check for this
        condition. That causes the getItem method to throw an exception and the
        assertion in AwtComponent::GetItemString fails. This bug has been fixed in
        the JDK for Java Workshop.

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  rkarsunw Ralph Kar (Inactive)
                  Reporter:
                  duke J. Duke (Inactive)
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  0 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Imported:
                    Indexed: