-
Bug
-
Resolution: Cannot Reproduce
-
P3
-
None
-
1.1
-
sparc
-
solaris_2.4
Name: swC45995 Date: 01/28/97
Compilation and subsequent execution of the test:
interface SomeInterface {}
class SomeClass implements SomeInterface
{
int i;
}
public class test
{
public static void main(String argv[])
{
SomeInterface u [][];
SomeClass x [][];
u = new SomeClass [3][];
x = (SomeClass [][]) u;
if (! (x instanceof SomeInterface [][]))
System.out.println("fail");
System.out.println("pass");
}
}
results in JVM crash due to segmentation violation instead of expected:
novo40% javac test.java
novo40% java test
pass
======================================================================