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

Post a Comment

Add a New Comment Rich Markup
   

Discussion

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

 

Attached Files

This item currently has no attached files.

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

Attach Files:
   
   
Comment:
   

 

Dependencies

This item does not depend on any other items.

Digest:
   bug dependencies.

 

Mail Notification Carbon-Copy List

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

    Votes

    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.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

    History

    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.16-598c.
    Corresponding source code