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

menu items with Unicode labels treated as separators

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      beta
    • CPU:
      generic
    • OS:
      solaris_2.5.1

      Description

      The Solaris AWT peer code for MenuItem uses a strcmp(label, "-") call
      to identify menu separators. The label in this case is produced by calling
      makeCString, which essentially throws away the high-order byte of each
      unicode character. Thus, if the label is one unicode character whose
      second byte is 0x2d ('-'), it is incorrectly displayed as a separator.

        Attachments

          Activity

            People

            Assignee:
            ehawkessunw Eric Hawkes (Inactive)
            Reporter:
            duke J. Duke (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: