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

[drlvm][jit][opt] tests.api.java.lang.reflect.ProxyTest fails on Jitrino.OPT while passes on Jitrino.JET

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: DRLVM
    • Labels:
      None
    • Environment:
      Linux/ia32
    • Patch Info:
      Patch Available

      Description

      $subj.

      shell> $HARMONY -Xem:jet -cp $classlib/depends/jars/junit_3.8.2/junit.jar:$classlib/modules/luni/bin/test:$classlib/deploy/build/test/support.jar junit.textui.TestRunner tests.api.java.lang.reflect.ProxyTest ....
      Time: 0.109

      OK (4 tests)

      shell> $HARMONY -Xem:opt -cp $classlib/depends/jars/junit_3.8.2/junit.jar:$classlib/modules/luni/bin/test:$classlib/deploy/build/test/support.jar junit.textui.TestRunner tests.api.java.lang.reflect.ProxyTest
      ..F..
      Time: 0.465
      There was 1 failure:
      1) test_newProxyInstanceLjava_lang_ClassLoader$Ljava_lang_ClassLjava_lang_reflect_InvocationHandler(tests.api.java.lang.reflect.ProxyTest)junit.framework.AssertionFailedError: Problem converting exception
      at tests.api.java.lang.reflect.ProxyTest.test_newProxyInstanceLjava_lang_ClassLoader$Ljava_lang_ClassLjava_lang_reflect_InvocationHandler(ProxyTest.java:145)
      at java.lang.reflect.VMReflection.invokeMethod(Native Method)

      FAILURES!!!
      Tests run: 4, Failures: 1, Errors: 0

        Attachments

        1. HARMONY-2259.reg.patch
          3 kB
          George Timoshenko
        2. HARMONY-2259.reg.patch
          4 kB
          George Timoshenko
        3. HARMONY-2259.patch
          3 kB
          George Timoshenko
        4. HARMONY-2259.patch
          3 kB
          George Timoshenko
        5. HARMONY-2259.patch
          4 kB
          George Timoshenko
        6. H2259.java
          2 kB
          George Timoshenko

          Activity

            People

            • Assignee:
              varlax Alexey Varlamov
              Reporter:
              egor Egor Pasko
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: