* Merged gcj-abi-2-dev-branch to trunk.
(Actual changes too large to list in the commit message; see ChangeLog.) From-SVN: r91270
This commit is contained in:
parent
ec0641f612
commit
367390404d
70 changed files with 11301 additions and 3355 deletions
21
libjava/testsuite/libjava.lang/assign2.java
Normal file
21
libjava/testsuite/libjava.lang/assign2.java
Normal file
|
@ -0,0 +1,21 @@
|
|||
// Test for an array assignment bug we've had.
|
||||
|
||||
public class assign2
|
||||
{
|
||||
public static Object[][] c () { return new Long[5][5]; }
|
||||
|
||||
public static Object[] d () { return new Integer[3]; }
|
||||
|
||||
public static void main(String[] args)
|
||||
{
|
||||
try
|
||||
{
|
||||
Object[][] x = c();
|
||||
x[0] = d();
|
||||
}
|
||||
catch (ArrayStoreException _)
|
||||
{
|
||||
System.out.println("good");
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue