Harmony
  1. Harmony
  2. HARMONY-1672

[drlvm] ChoiceFormatTest fais on interpreter

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: DRLVM
    • Labels:
      None
    • Environment:
      gcc/debug DRLVM
      interpeter mode

      Description

      The org.apache.harmony.text.tests.java.text.ChoiceFormatTest.test_parseLjava_lang_StringLjava_text_ParsePosition() fails on drlvm interpreter:

      junit.framework.AssertionFailedError: Case insensitive expected:<0> but was:<-2147483648> at org.apache.harmony.text.tests.java.text.ChoiceFormatTest.test_parseLjava_lang_StringLjava_text_ParsePosition(ChoiceFormatTest.java:359) at java.lang.reflect.VMReflection.invokeMethod(Native Method)

      1. D2I.diff
        2 kB
        Ivan Volosyuk

        Activity

        Show
        Alexei Fedotov added a comment - Added to http://wiki.apache.org/harmony/Unit_Tests_Pass_on_DRLVM
        Hide
        Ivan Volosyuk added a comment -

        Working on this issue.
        Reproduced.
        Also reproducible on windows.

        Show
        Ivan Volosyuk added a comment - Working on this issue. Reproduced. Also reproducible on windows.
        Hide
        Ivan Volosyuk added a comment -

        Fix attached.

        Show
        Ivan Volosyuk added a comment - Fix attached.
        Hide
        Alexei Fedotov added a comment -

        Reviewed the fix, looks good for me.

        Show
        Alexei Fedotov added a comment - Reviewed the fix, looks good for me.
        Hide
        Geir Magnusson Jr added a comment -

        r464686

        Ubuntu 6 - smoke, c-unit, ~kernel, suggested test case

        Show
        Geir Magnusson Jr added a comment - r464686 Ubuntu 6 - smoke, c-unit, ~kernel, suggested test case

          People

          • Assignee:
            Geir Magnusson Jr
            Reporter:
            Alexey Varlamov
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development