Uploaded image for project: 'Harmony'
  1. Harmony
  2. HARMONY-6594

[classlib][nio_char] CharsetEncoder.flush(Bytebuffer) doesn't follow the spec and RI's behavior

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 5.0M14
    • 5.0M15
    • Classlib
    • None
    • Patch Available

    Description

      Java 5 spec says the fulsh() will throw IllegalStateException If the previous step of the current encoding operation was an invocation neither of the reset method nor of the three-argument encode method with a value of true for the endOfInput parameter.
      Our harmony one doesn't follow this behavior and won't throw Exception.

      Attachments

        1. HARMONY-6594.diff
          3 kB
          deven you
        2. HARMONY-6594_v2.diff
          6 kB
          deven you

        Issue Links

          Activity

            People

              tellison Tim Ellison
              deven deven you
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - 96h
                  96h
                  Remaining:
                  Remaining Estimate - 96h
                  96h
                  Logged:
                  Time Spent - Not Specified
                  Not Specified