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

 
 

bug #48853: java integration: function disp

Submitted by:  Ernst Reissner <ernstreissner>
Submitted on:  Mon 22 Aug 2016 09:55:17 AM UTC  
 
Category: Octave FunctionSeverity: 1 - Wish
Priority: 5 - NormalItem Group: Matlab Compatibility
Status: ConfirmedAssigned to: None
Originator Name: Open/Closed: Open
Release: devOperating System: Any

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

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 File(s):
   
   
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
  • -unavailable- added by mtmiller (Updated the item)
  • -unavailable- added by ernstreissner (Submitted the item)
  • -unavailable- added by ernstreissner
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.

     

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

     

     

    Follow 7 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Tue 20 Sep 2016 08:29:41 PM UTCernstreissnerAttached File-=>Added patchBug48853.patch, #38577
    Tue 23 Aug 2016 02:26:24 PM UTCmtmillerCategoryNone=>Octave Function
      Severity3 - Normal=>1 - Wish
      Item GroupNone=>Matlab Compatibility
      StatusNone=>Confirmed
    Mon 22 Aug 2016 08:24:25 PM UTCmtmillerDependencies-=>bugs #48854 is dependent
    Mon 22 Aug 2016 09:55:18 AM UTCernstreissnerCarbon-Copy-=>Added -unavailable-

    Back to the top


    Powered by Savane 3.1-cleanup1