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

[classlib] java.awt.color.ICC_ProfileRTest fails

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • None
    • Classlib
    • None
    • SUSE 9
      debug DRLVM
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: