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

[email protected] Fri, 04 Sep 2015 19:27:56 +0000
Newsgroups gmane.comp.corba.jacorb.bugs
Message-ID <[email protected]/bugzilla/>
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: [email protected]
          Reporter: [email protected]

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.

_______________________________________________
jacorb-bugs mailing list
[email protected]
https://lists.spline.inf.fu-berlin.de/mailman/listinfo/jacorb-bugs