harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexey Petrenko" <alexey.a.petre...@gmail.com>
Subject Re: [drlvm] Annoying output from drlvm when Array.newInstace(Class,int[]) is invoked
Date Wed, 25 Apr 2007 11:34:08 GMT
Could you please file a JIRA?

SY, Alexey

2007/4/25, Andrew Zhang <zhanghuangzhu@gmail.com>:
> Hi,
>
> There're some annoying output from drlvm when Array.newInstace(Class,int[])
> is invoked. Running following code would print "[Ljava/lang/String;" to the
> console. Would anyone like to fix that? Thanks!
>
> public void test() throws Exception {
>        String[][] array = (String[][]) Array.newInstance(String.class, new
> int[] { 1, 2 });
>        assertEquals(1,array.length);
>        assertEquals(2,array[0].length);
>  }
>
> --
> Best regards,
> Andrew Zhang
>

Mime
View raw message