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

[classlib] java.awt.color.ICC_ProfileRTest fails

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Classlib
    • Labels:
      None
    • Environment:
      SUSE 9
      debug DRLVM
    • Patch Info:
      Patch Available

      Description

      The java.awt.color.ICC_ProfileRTest passes on JITs and fails on interpreter:

      junit.framework.AssertionFailedError: IllegalArgumentExceptione expected
      at java.awt.color.ICC_ProfileRTest.testGetInstance(ICC_ProfileRTest.java:38)
      at java.lang.reflect.VMReflection.invokeMethod(VMReflection.java)

      To reproduce:
      edit $vm/build/lnx_ia32_gcc_debug/deploy/jre/bin/default/harmonyvm.properties, add "-Xint" line to it;
      cd $classlib
      ant -Dtest.jre.home=$vm/build/lnx_ia32_gcc_debug/deploy/jre test -Dtest.case=java.awt.color.ICC_ProfileRTest -Dbuild.module=awt

        Attachments

        1. quick_fix.diff
          0.9 kB
          Ivan Volosyuk
        2. harmony-2100.patch
          2 kB
          Oleg Khaschansky

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: