Bugs item #2788986, was opened at 2009-05-08 08:26
Message generated for change (Tracker Item Submitted) made by mgricken
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=438935&aid=2788986&group_id=44253
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: DynamicJava
Group: None
Status: Open
Resolution: None
Priority: 9
Private: No
Submitted By: Mathias Ricken (mgricken)
Assigned to: Nobody/Anonymous (nobody)
Summary: Array Interpreter Bugs
Initial Comment:
x = new Integer[] { 0, 1 };
x[0] = true; // The error should be an ArrayStoreException
Object y = new Integer[] { 0 };
y[0] = 7; // No error should be generated
Object a = new Integer[] { 0, 1};
a[0] = true // The error should be an ArrayStoreException
a[0] = 12; // Should not be an error
Object[] c = new Integer[] { 1, 2 };
c[0] = true // An ArrayStoreException should be generated; a DrJava error is generated.
c[0] = "A" // Same as above
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=438935&aid=2788986&group_id=44253
|