Harmony
  1. Harmony
  2. HARMONY-197

[classlib][luni] Java 5 enhancements for java.lang.Character

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Classlib
    • Labels:
      None
    • Estimated Complexity:
      Moderate

      Description

      This issue is for enhancements to the java.lang.Character class to uplift it to match the Java 5 specification. Changes include the following:

      • New constants
      • valueOf method for boxing - the size of the cache is somewhat arbitrary and can easily be adjusted
      • New Unicode code point methods
      • Test case for all new methods.

      The addition of the code point methods should enable the implementation of the code point methods in StringBuffer and StringBuilder. At least the knowledge gained will help .

      1. Character_java_5_patch.txt
        39 kB
        Nathan Beyer
      2. CharacterTest.java
        20 kB
        Nathan Beyer

        Activity

        Nathan Beyer created issue -
        Nathan Beyer made changes -
        Field Original Value New Value
        Attachment CharacterTest.java [ 12324139 ]
        Attachment Character_java_5_patch.txt [ 12324138 ]
        Tim Ellison made changes -
        Assignee Tim Ellison [ tellison ]
        Tim Ellison made changes -
        Status Open [ 1 ] In Progress [ 3 ]
        Tim Ellison made changes -
        Resolution Fixed [ 1 ]
        Status In Progress [ 3 ] Resolved [ 5 ]
        Tim Ellison made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            Tim Ellison
            Reporter:
            Nathan Beyer
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development