bugGNU Octave - Bugs: bug #42453, isequal does not accept java...

 
 

bug #42453: isequal does not accept java objects

Submitter:  Rik <rik5>
Submitted:  Wed 28 May 2014 03:32:24 PM UTC
   
 
Category:  Octave Function Severity:  1 - Wish
Priority:  5 - Normal Item Group:  Feature Request
Status:  Duplicate Assigned to:  None
Originator Name:  Open/Closed:  * Closed
Release:  * dev Operating System:  * GNU/Linux
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Thu 23 Feb 2017 01:35:48 PM UTC, comment #1: 

Move the discussion to duplicate bug #48875. There a patch is submitted. Therefore marking this as "duplicate", even if this was the first report.

Closing report.

Kai Torben Ohlhus <siko1056>
Group Member
Wed 28 May 2014 03:32:24 PM UTC, original submission:  

Not that I particularly care, so I made this a feature request, but isequal() fails with java objects.

Sample code:


x = javaObject ("java.lang.Double", pi);
isequal (x, x)


This probably needs to wait until ov-java.cc implements the overloaded struct() call.  At that point we can use the same code in _isequal_.m that deals with regular objects by converting them to structs and then comparing fieldnames and values.

Rik <rik5>
Group administrator

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Digest:
   bug dependencies.

 

Carbon-Copy List
  • -email is unavailable- added by siko1056 (Posted a comment)
  • -email is unavailable- added by rik5 (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only group members can vote.

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2017-02-23 siko1056 StatusNone Duplicate
        Open/ClosedOpen Closed
    2017-02-23 siko1056 Dependencies- bugs #48875 is dependent

    Back to the top

    Powered by Savane 3.13-02a9.
    Corresponding source code