(spec) Write.write(int) subclasses unclear regarding supplementary character support

XMLWordPrintable

    • Type: Bug
    • Resolution: Unresolved
    • Priority: P4
    • tbd
    • Affects Version/s: 5.0
    • Component/s: core-libs
    • generic
    • generic

      The API doc of Writer.write(int) is:

          Writes a single character. The character to be written is contained in the 16 low-order bits of the given integer value;
          the 16 high-order bits are ignored.

      However, none of its subclasses clarifies the restriction that the 16 high-order bits are ignored. This is confusing and developers expect that write(int) in the subclasses supports supplementary characters.

            Assignee:
            Unassigned
            Reporter:
            Masayoshi Okutsu
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Imported:
              Indexed: