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

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

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: 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 .

        Attachments

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

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: