JDWP Spec: Some JDWP EventKind types are not ever used

XMLWordPrintable

    • Type: Bug
    • Resolution: Unresolved
    • Priority: P5
    • tbd
    • Affects Version/s: 8, 9, 10, 11, 12
    • Component/s: core-svc

      The following section of the JDWP spec lists all supported EventKinds:

      https://docs.oracle.com/javase/8/docs/platform/jpda/jdwp/jdwp-protocol.html#JDWP_EventKind

      FRAME_POP, CLASS_LOAD, and EXCEPTION_CATCH are never used.

      The only places where EventKind is mentioned generically (not in reference to a specific EventKind) is for EventRequest.Set and EventRequest.Clear:

      https://docs.oracle.com/javase/8/docs/platform/jpda/jdwp/jdwp-protocol.html#JDWP_EventRequest_Set
      https://docs.oracle.com/javase/8/docs/platform/jpda/jdwp/jdwp-protocol.html#JDWP_EventRequest_Clear

      When events are enabled using EventRequest.Set, they are expected to arrive using the Event Command Set

      https://docs.oracle.com/javase/8/docs/platform/jpda/jdwp/jdwp-protocol.html#JDWP_Event

      It calls out all supported EventKinds, and the data that is expected in the packet for each EventKind that is supported. There is no mention of FRAME_POP, CLASS_LOAD, or EXCEPTION_CATCH, so the assumption is that these events are not supported and never delivered. Their references in the spec should be updated to "Never sent across JDWP"

            Assignee:
            Unassigned
            Reporter:
            Chris Plummer
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: