harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mikhail Fursov (JIRA)" <j...@apache.org>
Subject [jira] Created: (HARMONY-3954) [drlvm][jit] Jitrino.OPT arraycopy optimization fails when Class[] array is used
Date Thu, 24 May 2007 10:48:18 GMT
[drlvm][jit] Jitrino.OPT arraycopy optimization fails when Class[] array is used
--------------------------------------------------------------------------------

                 Key: HARMONY-3954
                 URL: https://issues.apache.org/jira/browse/HARMONY-3954
             Project: Harmony
          Issue Type: Bug
            Reporter: Mikhail Fursov


Jitrino.OPT arraycopy optimization fails when Class[] array is used
I found this error while testing japp2004server in -Xem:server mode.


Here is a minitest to reproduce:
public class Hello {

    public static void main( String argv[] ) {
        Class[] arr1 = new Class[100];
        arr1[1] = arr1.getClass();
        Class[] arr2 = new Class[100];
        System.arraycopy(arr1, 0, arr2, 0, 100);
        System.out.println(arr2[1]);
    }
}

I will submit fix & regression test soon


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message