Skip to main content
This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal

Notes/Domino 6 and 7 Forum

Notes/Domino 6 and 7 Forum


  

PreviousPrevious NextNext


~Tanita Eljipygen 9.May.03 11:10 AM a Web browser
Applications Development 6.0 Windows 2000


Hi I have the following simple javaclass for testing purposes.

public class testIntArray {
public testIntArray(int[] x) {
System.out.println("Inititialized");
}
}

and i have the following code to instantiate the object in LS.

Set testIntArray = testIntArrayClass.CreateObject("([I)V", intArray)

where intArray is a LS array of integers that was populated with a few integer item.

I keep getting the error "Java constructor failed to execute". In the documentation it is stated that Array of Integers and other primitive datatypes are supported. I am wondering what I did wrong, please let me know if my declaration for createobject is correct.

Another question I have is, is it possible to pass an array of strings to the java constructors?

Hope you guys out there can help, thanks!

cheerio,
george








  Document options
Print this pagePrint this page

 Search this forum

  Forum views and search
Date (threaded)
Date (flat)
With excerpt
Category
Platform
Release
Advanced search

 RSS feedsRSS
All forum posts RSS
All main topics RSS