[Scilab-users] Handling a very long Java method name

Joo Cat joodlink at hotmail.com
Fri Feb 27 07:53:34 CET 2015


I have a Java class that has a very long method name. When using the method, Scilab will give a warning and truncates the method to fit 24 characters. As a result, I will get an error saying that it is an invalid field. Is there a way to overcome this? Thanks. 

--> A = MyClass.new()
--> B = A.thisIsAVeryVeryLongMethodName(5)
Warning :
The identifier : thisIsAVeryVeryLongMethodName
 has been truncated to: thisIsAVeryVeryLongMetho.

 !--error 999 
%_EObj_e: An error occurred: Exception when calling Java method : Invalid field ThisIsAVeryVeryLongMetho
 at org.scilab.modules.external_objects_java.ScilabJavaObject.extract(Unknown Source)
Invalid field ThisIsAVeryVeryLongMetho
 at org.scilab.modules.external_objects_java.ScilabJavaObject.extract(Unknown Source)

 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.scilab.org/pipermail/users/attachments/20150227/17286479/attachment.htm>


More information about the users mailing list