[jacorb-bugs] [Bug 1021] New: Incomplete handling of jacorb.interop.indirection_encoding_disable property

bugzilla-daemon at jacorb.org bugzilla-daemon at jacorb.org
Fri Sep 4 21:27:56 CEST 2015


http://www.jacorb.org/bugzilla/show_bug.cgi?id=1021

            Bug ID: 1021
           Summary: Incomplete handling of
                    jacorb.interop.indirection_encoding_disable property
           Product: JacORB
           Version: 3.6.1
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P5
         Component: ORB
          Assignee: jacorb-bugs at lists.spline.inf.fu-berlin.de
          Reporter: amadeu at tecgraf.puc-rio.br

Created attachment 470
  --> http://www.jacorb.org/bugzilla/attachment.cgi?id=470&action=edit
Patch to workaround the problem disabling indirection tag on CDROutputStream

TAO 6.3.0 is still not working properly with indirection tags on CDR
unmarshaling. I was working on an interop test between TAO and JacORB and the
property jacorb.interop.indirection_encoding_disable isn't working as argued
to.

When I setted up jacorb.interop.indirection_encoding_disable=on the CDR output
still uses indirection flag (0xffffffff) and proper offsets about last position
of that typecode on stream. I found (in the JacORB master github code) some
points missing CDROutputStream.isIndirectionEnabled test before writing
0xffffffff on the stream. 

I attached a diff below to demonstrate where it is missing and another simple
refactoring in ComplexTypeCodeWriter. I don't know the code, so it's just a
guess. It worked for me but sorry, it isn't an good solution for the problem.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.spline.inf.fu-berlin.de/pipermail/jacorb-bugs/attachments/20150904/2c4d3ca2/attachment.html>


More information about the jacorb-bugs mailing list