Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8193258

Better usage of JDWP HEADER SIZE

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 10
    • 10
    • core-svc
    • b36

      Throughout the jdwp library coding, the header size of a jdwp header is used sometimes literally, sometimes via define. This should be cleaned up.

      Furthermore, there exist 2 little bugs in src/jdk.jdwp.agent/share/native/libjdwp/inStream.c:
          inStream_init should initialize stream->left with the packet size without the JDWP Header size.
          inStream_endOfInput is implemented completely wrong but it seems that the function is not used/needed at all.

            clanger Christoph Langer
            clanger Christoph Langer
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: