geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Forrest Xia (JIRA)" <j...@apache.org>
Subject [jira] [Created] (YOKO-433) YOKO chunking logic does not set the the chunk flag to false when the valuetype tag is false on the chunking bit
Date Sat, 07 May 2011 09:37:03 GMT
YOKO chunking logic does not set the the chunk flag to false when the valuetype tag is false
on the chunking bit
----------------------------------------------------------------------------------------------------------------

                 Key: YOKO-433
                 URL: https://issues.apache.org/jira/browse/YOKO-433
             Project: Yoko - CORBA Server
          Issue Type: Bug
      Security Level: public (Regular issues)
          Components: orb core
    Affects Versions: v1.2.0
            Reporter: Forrest Xia
            Assignee: Forrest Xia
            Priority: Minor
             Fix For: v1.2.0


The current chunking logic is like this:

         if ((h.tag & 0x00000008) == 8) {
             h.state.chunked = true;
         }

This basically works fine when nesting valuetype has the same chunking as the parent valuetype.
But if the nested valuetype does not use chunking, then the logic should be change to like
this:
         if ((h.tag & 0x00000008) == 8) {
             h.state.chunked = true;
        } else {
        	h.state.chunked = false;
         }


--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message