Re: [tcljava-dev] Problem in accessing public method of java class using TclBlend
Brought to you by:
mdejong
From: Namita J. <nam...@tc...> - 2008-11-21 04:39:31
|
Hi, Thanks a lot for your prompt reply. Currently we have the zip for TclBlend 1.4.0. It would be really helpful if you can provide me the binary zip for TclBlend 1.4.1 or if you can guide me in installing this version. Regards Namita Jain Tata Consultancy Services Mailto: nam...@tc... Website: http://www.tcs.com ____________________________________________ Mo DeJong <mo...@mo...> 21/11/2008 05:48 Please respond to discuss implementaition and patches here <tcl...@li...> To discuss implementaition and patches here <tcl...@li...> cc Subject Re: [tcljava-dev] Problem in accessing public method of java class using TclBlend Namita Jain wrote: > > Hi , > > I am facing problem in accessing the public method (non-static) of a > public java class . The error that I receive is > > *can't find accessible method "createsocket" with 1 argument(s) for > class "javaso* > *cket.EvoTAMClient"* > > *Please find attched the tclblend code and java code which I am using* > > *The interesting point here is that I am able to access the same > method "createsocket" if I remove the parameters and arguments from > method call and declaration.* > > The versions of various products is as follows > -TclBlend Version:1.4.0 > -TCL version:8.4.13.0 > -Jav version: jdk 1.4.2_12 Humm, this is odd. I just tested your code with the Tcl Blend 1.4.1 binary under Windows and it worked for me: % packa require java 1.4.1 % set javasockobj [java::new javasocket.EvoTAMClient] java0x1 % set result [$javasockobj createsocket "good"] inside createsocket 1 Is this a JDK specific issue? There is a somewhat related bug report, but it has to do with public methods on a non-public class: http://sourceforge.net/tracker/index.php?func=detail&aid=1591530&group_id=13005&atid=113005 Mo DeJong ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ tcljava-dev mailing list tcl...@li... https://lists.sourceforge.net/lists/listinfo/tcljava-dev ForwardSourceID:NT000136E6 =====-----=====-----===== Notice: The information contained in this e-mail message and/or attachments to it may contain confidential or privileged information. If you are not the intended recipient, any dissemination, use, review, distribution, printing or copying of the information contained in this e-mail message and/or attachments to it are strictly prohibited. If you have received this communication in error, please notify us by reply e-mail or telephone and immediately and permanently delete the message and any attachments. Thank you |