Harmony
  1. Harmony
  2. HARMONY-6534

[classlib][luni] construct UnsupportedEncodingException with name of encoding

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Trivial Trivial
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.0M15
    • Component/s: Classlib
    • Labels:
      None
    • Patch Info:
      Patch Available
    • Estimated Complexity:
      Novice

      Description

      In InputStreamReader and PrintStream classes UnsupportedEncodingExceptions are created with the no-args constructor instead of passing the name of the encoding in, which is the behaviour or the RI.

      1. 6534.patch
        1 kB
        Catherine Hope

        Activity

        Hide
        Catherine Hope added a comment -

        Thanks for adding the tests

        Show
        Catherine Hope added a comment - Thanks for adding the tests
        Hide
        Hudson added a comment -

        Integrated in Harmony-select-1.5-head-linux-x86_64 #29 (See http://hudson.zones.apache.org/hudson/job/Harmony-select-1.5-head-linux-x86_64/29/)
        Applied patch and created tests for HARMONY-6534 ([classlib][luni] construct UnsupportedEncodingException with name of encoding)

        Show
        Hudson added a comment - Integrated in Harmony-select-1.5-head-linux-x86_64 #29 (See http://hudson.zones.apache.org/hudson/job/Harmony-select-1.5-head-linux-x86_64/29/ ) Applied patch and created tests for HARMONY-6534 ( [classlib] [luni] construct UnsupportedEncodingException with name of encoding)
        Hide
        Hudson added a comment -

        Integrated in Harmony-1.5-head-linux-x86_64 #842 (See http://hudson.zones.apache.org/hudson/job/Harmony-1.5-head-linux-x86_64/842/)
        Applied patch and created tests for HARMONY-6534 ([classlib][luni] construct UnsupportedEncodingException with name of encoding)

        Show
        Hudson added a comment - Integrated in Harmony-1.5-head-linux-x86_64 #842 (See http://hudson.zones.apache.org/hudson/job/Harmony-1.5-head-linux-x86_64/842/ ) Applied patch and created tests for HARMONY-6534 ( [classlib] [luni] construct UnsupportedEncodingException with name of encoding)
        Hide
        Tim Ellison added a comment -

        Thanks Catherine,

        Patch applied to LUNI module at repo revision r953412 plus some regression test assertions.

        Please check it was applied as you expected.

        Show
        Tim Ellison added a comment - Thanks Catherine, Patch applied to LUNI module at repo revision r953412 plus some regression test assertions. Please check it was applied as you expected.
        Hide
        Catherine Hope added a comment -

        Include name of encoding when throwing UnsupportedEncodingException

        Show
        Catherine Hope added a comment - Include name of encoding when throwing UnsupportedEncodingException

          People

          • Assignee:
            Unassigned
            Reporter:
            Catherine Hope
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development