bugGNU Octave - Bugs: bug #42702, isa() does not check parent class...

 
 

bug #42702: isa() does not check parent class of java object

Submitted by:  Carnë Draug <carandraug>
Submitted on:  Mon 07 Jul 2014 11:29:17 PM UTC  
 
Category: LibrariesSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Incorrect Result
Status: FixedAssigned to: None
Originator Name: Open/Closed: Closed
Release: devOperating System: Any

Add a New Comment (Rich MarkupRich Markup):
   

You are not logged in

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

 

Mon 06 Apr 2015 04:11:46 AM UTC, comment #3:

I forgot to mention that this only fixed the original report, i.e., does not work for java objects.

I was unable to confirm comment #1 about this also failing for classdef. Maybe it was fixed in the mean time, or maybe I am not testing it correctly, but here's what I did:

Carnë Draug <carandraug>
Project Member
Mon 06 Apr 2015 03:59:34 AM UTC, comment #2:

Fixed with 107130a0490c

http://hg.savannah.gnu.org/hgweb/octave/rev/107130a0490c

Carnë Draug <carandraug>
Project Member
Thu 10 Jul 2014 11:23:07 PM UTC, comment #1:

I can confirm that this doesn't apply for classdef objects (in Octave 4.1.0+) either.

sergey plotnikov <nul0m>
Mon 07 Jul 2014 11:29:17 PM UTC, original submission:

The function isa() should return true not only when the object is of the specified class, but also when it's derived of it. However, for java objects this does not apply:

while in Matlab:

Carnë Draug <carandraug>
Project Member

 

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

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by mtmiller (Updated the item)
  • -unavailable- added by nul0m (Posted a comment)
  • -unavailable- added by carandraug (Submitted the item)
  •  

    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
    Mon 06 Apr 2015 03:59:34 AM UTCcarandraugStatusConfirmed=>Fixed
      Open/ClosedOpen=>Closed
    Sun 22 Feb 2015 06:53:05 PM UTCmtmillerCategoryNone=>Libraries
      Item GroupNone=>Incorrect Result
      StatusNone=>Confirmed
      Release3.8.1=>dev
      Operating SystemGNU/Linux=>Any

    Back to the top


    Powered by Savane 3.1-cleanup