re PR java/19921 (wrong argument count for invokeInterface with new multidimensional array)
gcc/java: PR java/19921: * jcf-write.c (generate_bytecode_insns) <CALL_EXPR>: Note the stack effect of multianewarray. libjava: For PR java/19929: * testsuite/libjava.lang/PR19929.out: New file. * testsuite/libjava.lang/PR19929.java: New file. From-SVN: r95041
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
interface I {
|
||||
void f(Object x);
|
||||
}
|
||||
|
||||
class PR19929 {
|
||||
static void g(I i) {
|
||||
// gcj used to create invalid bytecode for this.
|
||||
i.f(new Object[1][1]);
|
||||
}
|
||||
public static void main(String[] args) { }
|
||||
}
|
||||
Reference in New Issue
Block a user