bugGNU Octave - Bugs: bug #48853, java integration: function disp

 
 

bug #48853: java integration: function disp

Submitter:  Ernst Reissner <ernstreissner>
Submitted:  Mon 22 Aug 2016 09:55:17 AM UTC
   
 
Category:  Octave Function Severity:  1 - Wish
Priority:  5 - Normal Item Group:  Matlab Compatibility
Status:  Confirmed Assigned to:  None
Originator Name:  Open/Closed:  * Open
Release:  * dev Operating System:  * Any
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Tue 20 Sep 2016 08:29:41 PM UTC, comment #3: 

The attached patch fixes the problem.

(file #38577)

Ernst Reissner <ernstreissner>
Tue 23 Aug 2016 05:40:33 PM UTC, comment #2: 

http://de.mathworks.com/help/matlab/matlab_external/invoking-methods-on-java-objects.html

shows that mathworks dedicated a whole site on the subject.

Ernst Reissner <ernstreissner>
Tue 23 Aug 2016 02:39:23 PM UTC, comment #1: 

see the discussion of bug #48013:
There philip was puzzled about missing conversion of java.math.BigDecimal.
The problem was, that there is no conversion of the object,
just function disp performs toString-conversion
which looks the same for BigDecimal.

So, to avoid misinterpretations,
this fix is important.

It is for ml compatibility also.

Ernst Reissner <ernstreissner>
Mon 22 Aug 2016 09:55:17 AM UTC, original submission:  

shall invoke object.toString().
This is different at the moment: unveils octave_java.

Ernst Reissner <ernstreissner>

 

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

Attach Files:
   
   
Comment:
   

Attached Files
file #38577:  patchBug48853.patch added by ernstreissner (1KiB - text/x-patch)

 

Depends on the following items: None found

Digest:
   bug dependencies.

 

Carbon-Copy List
  • -email is unavailable- added by mtmiller (Updated the item)
  • -email is unavailable- added by ernstreissner (Submitted the item)
  • -email is unavailable- added by ernstreissner
  •  

    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 7 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2016-09-20 ernstreissner Attached File- Added patchBug48853.patch, #38577
    2016-08-23 mtmiller CategoryNone Octave Function
        Severity3 - Normal 1 - Wish
        Item GroupNone Matlab Compatibility
        StatusNone Confirmed
    2016-08-22 mtmiller Dependencies- bugs #48854 is dependent
    2016-08-22 ernstreissner Carbon-Copy- Added -email is unavailable-

    Back to the top

    Powered by Savane 3.13-4b4b.
    Corresponding source code