Bugs item #1344570, was opened at 2005-11-01 14:17
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=438935&aid=1344570&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: Interactions
Group: Makes DrJ unstable
Status: Open
Resolution: None
Priority: 5
Submitted By: Nor Jaidi Tuah (norjaidi)
Assigned to: Nobody/Anonymous (nobody)
Summary: clone() failure in interactions panel
Initial Comment:
The following:
> Integer[] z = new Integer[9];
> z.clone()
gives
NullPointerException:
(no other message, just NullPointerException).
I also tried: ((Object[])z).clone() // array
Result: ok when compiled and run inside a class.
But, NullPointerException when entered directly into the
interactions panel.
I also tried: ((Object)z).clone()
Result: Compile error. Object.clone() is protected.
But, ok when entered directly into the interactions
panel!!!
DrJava Version : 20050814-2234
OS : Linux
JDK : 1.5.0_03
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=438935&aid=1344570&group_id=44253
|