|
Hi
I think I have found a bug in OPP. Methods that return arrays
are not precompiled correctly.
Precompiling a class with this method:
public ClassB[] listClassB()
{
return (ClassB[])_classBCollection.toArray(new ClassBImpl_Proxy[0]); } gives:
public
[Ltest.ClassB; listClassB ()
{ Object result; try { result = link.invoke (this, "listClassB", "", 0, null, null, null); } catch (Exception ex) { throw new UnexpectedError(ex.toString()); } return ([Ltest.ClassB;)result; } } It looks as if the construction with ClassB[] is
not passed correctly.
Erik
|