comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » System.exit from Java class
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
System.exit from Java class [message #60963] Mon, 23 June 2008 07:44
humanumbrella is currently offline  humanumbrella
Messages: 52
Registered: June 2008
Member
so I'm importing a java class that contains:
System.exit(0);

HelloWorld.java:
public class HelloWorld{
public HelloWorld(){
System.out.println("Hello.");
}
public void quit(){
System.exit(1);
}
}

importer.pro:
pro importer
asdf = obj_new('IDLJavaObject$HELLOWORLD', $
'HelloWorld')
asdf->quit
obj_destroy, asdf
end

This line breaks IDL whereby I have to end the process and restart
IDL.
Is there any way around this ?

Thanks in advance!
--Justin
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: Java Bridge Import
Next Topic: Select Equal elements from 2 arrays

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 17:37:12 PDT 2025

Total time taken to generate the page: 0.00609 seconds