* tests/regression/bugzilla/PR65.java (test): Fixed compiler warning.
authorChristian Thalinger <twisti@complang.tuwien.ac.at>
Tue, 6 May 2008 09:03:47 +0000 (11:03 +0200)
committerChristian Thalinger <twisti@complang.tuwien.ac.at>
Tue, 6 May 2008 09:03:47 +0000 (11:03 +0200)
tests/regression/bugzilla/PR65.java

index b8a5ef17934824a8f61ffa34cbba5166b7493516..400a3e61acd44b85877adb88658f66db17994315 100644 (file)
@@ -39,6 +39,7 @@ public class PR65 extends TestCase {
         try {
             Object o = new int[2][1];
             Number[][] na = (Number[][]) o;
+            na[0][0] = null;
             fail("Should throw ClassCastException");
         } catch (ClassCastException success) {
         }