Re: how to pass an array of java objects through inline-java

2007-08-11 Thread sharmishtha upadhyay
Hi, I extract the objects before sending them over to the Java constructor. I push the objects into an array, for example, in @arg and pass to the java constructor. But I have observed that I need to enclose @arg in square brackets as [EMAIL PROTECTED] and pass it to a java method/constructor, oth

Re: how to pass an array of java objects through inline-java

2007-08-09 Thread Patrick LeBoutillier
Hi, You are trying to send n array of Perl objects of type JavaArray over to Java and it doesn't know what to do with that. What exactly is a JavaArray? Patrick On 8/9/07, sharmishtha upadhyay <[EMAIL PROTECTED]> wrote: > Hi, > > I am developing Perl wrappers for Java Code using > Inline-Java.

how to pass an array of java objects through inline-java

2007-08-09 Thread sharmishtha upadhyay
Hi, I am developing Perl wrappers for Java Code using Inline-Java. I need to pass an array of Java objects and an array of string to the constructor. The constructor is defined as: public MyClassConstructor(JavaArray[] javaArray, String[] strArray); Corresponding to the above constructor, I have