[prev in list] [next in list] [prev in thread] [next in thread] 

List:       jacorb-bugs
Subject:    [jacorb-bugs] [Bug 384] New: Delegate.is_a remote call avoidance
From:       bugzilla-daemon () inf ! fu-berlin ! de
Date:       2003-09-26 14:58:19
Message-ID: E1A2u31-0002M4-00 () berners ! inf ! fu-berlin ! de
[Download RAW message or body]

http://www.jacorb.org/cgi-bin/bugzilla/show_bug.cgi?id=384

           Summary: Delegate.is_a remote call avoidance causes incorrect
                    result
           Product: JacORB
           Version: 2.0 beta2
          Platform: PC
        OS/Version: Windows 2000
            Status: NEW
          Severity: major
          Priority: P2
         Component: ORB
        AssignedTo: gerald.brose@acm.org
        ReportedBy: maillist@richard-begg.com
         QAContact: jacorb-bugs@lists.spline.inf.fu-berlin.de


The is_a method in Delegate now attempts to avoid a remote call by performing 
a dynamic call to the narrow method of the object types helper class.  
Unfortunately it would seem that this optimization doesn't work and reports an 
invalid result.  It seems to use it's own Helper class to narrow it's own 
reference which will always work (see org.jacorb.orb.Delegate:1100), it does 
the equivelant of:

 <object type>Helper.narrow(object);

I believe that when it gets the Helper class it should use 
the 'logical_type_id' the object is being tested against.  This is only 
reproduceable when attempting to call _is_a on a non-local object.



------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic