Commits

Anonymous committed bc03380 Merge

Merge "Remove an assertion that JDWP packets are small."

Comments (0)

Files changed (1)

vm/jdwp/JdwpHandler.cpp

      * heap requirements is probably more valuable than the efficiency.
      */
     if (dvmDbgDdmHandlePacket(buf, dataLen, &replyBuf, &replyLen)) {
-        assert(replyLen > 0 && replyLen < 1*1024*1024);
         memcpy(expandBufAddSpace(pReply, replyLen), replyBuf, replyLen);
         free(replyBuf);
     }