<html>
    <head>
      <base href="http://www.jacorb.org/bugzilla/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Incomplete handling of jacorb.interop.indirection_encoding_disable property"
   href="http://www.jacorb.org/bugzilla/show_bug.cgi?id=1021">1021</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Incomplete handling of jacorb.interop.indirection_encoding_disable property
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>JacORB
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>3.6.1
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>PC
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P5
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>ORB
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>jacorb-bugs@lists.spline.inf.fu-berlin.de
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>amadeu@tecgraf.puc-rio.br
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=470&action=diff" name="attach_470" title="Patch to workaround the problem disabling indirection tag on CDROutputStream">attachment 470</a> <a href="attachment.cgi?id=470&action=edit" title="Patch to workaround the problem disabling indirection tag on CDROutputStream">[details]</a></span>
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.</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>