From: SourceForge.net <no...@so...> - 2004-08-10 19:31:37
|
Bugs item #1006803, was opened at 2004-08-10 19:31 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=1006803&group_id=44253 Category: DynamicJava Group: Ugly Status: Open Resolution: None Priority: 5 Submitted By: Jonathan Lugo (jeloguy15) Assigned to: Nobody/Anonymous (nobody) Summary: Unexpected ClassCastException when passing array for varargs Initial Comment: Say you have a method that uses variable arguments such as: public void run(int...) { ... } if you call the method using the traditional array rather than multiple arguments in the interactions pane such as: run(new int[] {1,2,3}); DynamicJava throws a ClassCastException. When the same code was compiled in the definitions pane, it worked well. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=438935&aid=1006803&group_id=44253 |