[Scilab-Dev] jimport error on calling environment: blocking scope issue

Samuel Gougeon sgougeon at free.fr
Sun Aug 4 11:02:56 CEST 2019


Le 21/07/2019 à 22:27, Samuel Gougeon a écrit :
>
> Hello,
>
> I am facing some very  serious issue. It is so trivial and surprising 
> that i am wondering if this blocking behavior is intentional, and if 
> yes why and how to by-pass it if possible:
>
> --> clear File, clearglobal File
> --> function test(), jimport java.io.File, disp(File), endfunction
> --> test() // OK
> class java.io.File
> --> File
> Undefined variable: File // So the File class is local. It is not 
> returned to the caller, from the Scilab point of view.
> --> File = 1;
> --> test()
> at line     1 of function test
> jimport: An error occurred: A variable with this name is already existing


This is now reported as the blocking bug 16165 
<http://bugzilla.scilab.org/show_bug.cgi?id=16165>.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.scilab.org/pipermail/dev/attachments/20190804/ee5cd528/attachment.htm>


More information about the dev mailing list