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

JDWP Spec: Some JDWP EventKind types are not ever used

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P5
    • tbd
    • 8, 9, 10, 11, 12
    • core-svc

    Description

      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"

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated: