Harmony
  1. Harmony
  2. HARMONY-4209

[classlib][luni][java6] New feature of java.util.ResourceBundle for java6

    Details

    • Type: New Feature New Feature
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Classlib
    • Labels:
      None
    • Patch Info:
      Patch Available

      Description

      I've added the new feature of java.util.ResourceBundle for Java6:
      1. Add a new internal class "ResourceBundle.Control" and related test file "ControlTest.java"
      2. Add some new method in ResourceBundle and related test cases in ResourceBundleTest.java
      3. For test case above, some required resource files are also added/modified in project "support"

      1. HARMONY-4209-SUPPORT.zip
        12 kB
        Robert Hu
      2. HARMONY-4209-LUNI.sh
        0.2 kB
        Robert Hu
      3. HARMONY-4209-LUNI.diff
        89 kB
        Robert Hu
      4. ControlTest.java
        36 kB
        Robert Hu

        Activity

        Hide
        Robert Hu added a comment -

        Please try this patch as following steps:
        1. Extract "HARMONY-4209-SUPPORT.zip":
        after doing step 1, you'll find two folders("norootresources" and "resources") and two files("HARMONY-4209-SUPPORT.diff" and "HARMONY-4209-SUPPORT.sh").
        The two folders contain some resource file in "support" project for test cases
        The file "HARMONY-4209-SUPPORT.diff" is the patch file to update some other resource files
        The file "HARMONY-4209-SUPPORT.sh" is the shell command to copy and "svn add" the new resource files in those two folders.

        2. copy the two folders and two files from step 1 into project "support"
        The location is "<trunk>/support"

        3. run the "HARMONY-4209-SUPPORT.sh" and patch the "HARMONY-4209-SUPPORT.diff".

        4. copy the "HARMONY-4209-LUNI.sh","HARMONY-4209-LUNI.diff" and "ControlTest.java" into project "luni"
        The location is "trunk/modules/luni"

        5. run the "HARMONY-4209-LUNI.sh" and patch the "HARMONY-4209-LUNI.diff".

        Show
        Robert Hu added a comment - Please try this patch as following steps: 1. Extract " HARMONY-4209 -SUPPORT.zip": after doing step 1, you'll find two folders("norootresources" and "resources") and two files(" HARMONY-4209 -SUPPORT.diff" and " HARMONY-4209 -SUPPORT.sh"). The two folders contain some resource file in "support" project for test cases The file " HARMONY-4209 -SUPPORT.diff" is the patch file to update some other resource files The file " HARMONY-4209 -SUPPORT.sh" is the shell command to copy and "svn add" the new resource files in those two folders. 2. copy the two folders and two files from step 1 into project "support" The location is "<trunk>/support" 3. run the " HARMONY-4209 -SUPPORT.sh" and patch the " HARMONY-4209 -SUPPORT.diff". 4. copy the " HARMONY-4209 -LUNI.sh"," HARMONY-4209 -LUNI.diff" and "ControlTest.java" into project "luni" The location is "trunk/modules/luni" 5. run the " HARMONY-4209 -LUNI.sh" and patch the " HARMONY-4209 -LUNI.diff".
        Hide
        Tony Wu added a comment -

        Patch applied at r548943 and r548944 since there is an 403 error on my machine when commit 543943.
        please verify. Thanks.

        Show
        Tony Wu added a comment - Patch applied at r548943 and r548944 since there is an 403 error on my machine when commit 543943. please verify. Thanks.
        Hide
        Robert Hu added a comment -

        Verified.
        Thanks a lot!

        Show
        Robert Hu added a comment - Verified. Thanks a lot!

          People

          • Assignee:
            Tony Wu
            Reporter:
            Robert Hu
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development