harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Zhang" <zhanghuang...@gmail.com>
Subject [drlvm] Annoying output from drlvm when Array.newInstace(Class,int[]) is invoked
Date Wed, 25 Apr 2007 11:25:43 GMT
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
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message