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

menu items with Unicode labels treated as separators

XMLWordPrintable

    • beta
    • generic
    • solaris_2.5.1

      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.

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: