|
From: | Rik |
Subject: | [Octave-bug-tracker] [bug #44764] exist() does not recognize Java objects |
Date: | Tue, 07 Apr 2015 16:43:54 +0000 |
User-agent: | Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:36.0) Gecko/20100101 Firefox/36.0 |
Update of bug #44764 (project octave): Item Group: None => Incorrect Result Status: None => Confirmed Release: 3.8.2 => dev _______________________________________________________ Follow-up Comment #1: Confirmed. This should return '1' because j_str obviously exists as a variable within the workspace which you can check with 'who' or 'whos'. octave:1> j_str=javaObject('java.lang.String','Hello, world.'); octave:2> exist('j_str') ans = 0 octave:3> who Variables in the current scope: ans j_str octave:4> whos Variables in the current scope: Attr Name Size Bytes Class ==== ==== ==== ===== ===== ans 1x1 8 double j_str 1x1 0 java.lang.String Total is 2 elements using 8 bytes _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?44764> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |