<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">Le 21/07/2019 à 22:27, Samuel Gougeon a
écrit :<br>
</div>
<blockquote type="cite"
cite="mid:79e8fb6e-12db-d454-cc03-8d8910b85bf5@free.fr">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<p>Hello,</p>
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:<br>
<br>
<font size="-1"><tt>--> clear File, clearglobal File</tt><tt><br>
</tt><tt>--> function test(), jimport java.io.File,
disp(File), endfunction</tt><tt><br>
</tt><tt>--> test() </tt><tt><font color="#009900">// OK</font></tt><tt><br>
</tt><tt>class java.io.File</tt><tt><br>
</tt><tt>--> File</tt><tt><br>
</tt><tt>Undefined variable: File </tt><tt><font
color="#009900">// So the File class is local. It is not
returned to the caller, from the Scilab point of view.</font></tt><tt><br>
</tt><tt>--> File = 1;</tt><tt><br>
</tt><tt>--> test()</tt><tt><br>
</tt><font color="#cc0000"><tt>at line 1 of function test </tt><tt><br>
</tt><tt>jimport: An error occurred: A variable with this name
is already existing </tt></font></font><br>
</blockquote>
<p><br>
</p>
<p>This is now reported as the blocking <font color="#000000"><a
moz-do-not-send="true"
href="http://bugzilla.scilab.org/show_bug.cgi?id=16165">bug
16165</a>.</font></p>
<br>
</body>
</html>