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

(cs spec) Charset-X-Coder doc suggests overriding final methods flush, reset

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 6
    • 6
    • core-libs
    • b29
    • generic
    • generic

      The class doc for CharsetEncoder states:

      "A subclass that maintains internal state should, additionally, override the flush and reset methods."

      But flush() and reset() are final. Evidently, the writer meant
      implFlush() and implReset().
      ###@###.### 2005-2-13 04:48:59 GMT

            martin Martin Buchholz
            martin Martin Buchholz
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: