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

JDI spec: several pending JDI step requests are allowed per one thread

XMLWordPrintable

      nsk/jdi/EventRequestManager/createStepRequest/crstepreq001 fails with following error:

      [2018-06-06T17:19:14.53] 1) Trying to create a duplicate StepRequest object
      [2018-06-06T17:19:14.53] with size=-1; depth=1 for the debuggee's thread "debuggee_thr"
      [2018-06-06T17:19:14.55] # ERROR: TEST CASE #1 FAILED: createStepRequest successfully done
      [2018-06-06T17:19:14.55] # ERROR: for a duplicate StepRequest object per the specified thread "debuggee_thr"
      [2018-06-06T17:19:14.55] # ERROR: but it should throw DuplicateRequestException
      [2018-06-06T17:19:14.63]
      [2018-06-06T17:19:14.63] 2) Trying to create a duplicate StepRequest object
      [2018-06-06T17:19:14.63] with size=-1; depth=2 for the debuggee's thread "debuggee_thr"
      [2018-06-06T17:19:14.68] # ERROR: TEST CASE #2 FAILED: createStepRequest successfully done
      [2018-06-06T17:19:14.68] # ERROR: for a duplicate StepRequest object per the specified thread "debuggee_thr"
      [2018-06-06T17:19:14.68] # ERROR: but it should throw DuplicateRequestException
      [2018-06-06T17:19:14.68]
      [2018-06-06T17:19:14.68] 3) Trying to create a duplicate StepRequest object
      [2018-06-06T17:19:14.68] with size=-1; depth=3 for the debuggee's thread "debuggee_thr"
      [2018-06-06T17:19:14.73] # ERROR: TEST CASE #3 FAILED: createStepRequest successfully done
      [2018-06-06T17:19:14.73] # ERROR: for a duplicate StepRequest object per the specified thread "debuggee_thr"
      [2018-06-06T17:19:14.73] # ERROR: but it should throw DuplicateRequestException
      [2018-06-06T17:19:14.73]
      [2018-06-06T17:19:14.73] 4) Trying to create a duplicate StepRequest object
      [2018-06-06T17:19:14.73] with size=-2; depth=1 for the debuggee's thread "debuggee_thr"
      [2018-06-06T17:19:14.73] # ERROR: TEST CASE #4 FAILED: createStepRequest successfully done
      [2018-06-06T17:19:14.73] # ERROR: for a duplicate StepRequest object per the specified thread "debuggee_thr"
      [2018-06-06T17:19:14.73] # ERROR: but it should throw DuplicateRequestException
      [2018-06-06T17:19:14.73]
      [2018-06-06T17:19:14.73] 5) Trying to create a duplicate StepRequest object
      [2018-06-06T17:19:14.73] with size=-2; depth=2 for the debuggee's thread "debuggee_thr"
      [2018-06-06T17:19:14.73] # ERROR: TEST CASE #5 FAILED: createStepRequest successfully done
      [2018-06-06T17:19:14.73] # ERROR: for a duplicate StepRequest object per the specified thread "debuggee_thr"
      [2018-06-06T17:19:14.73] # ERROR: but it should throw DuplicateRequestException
      [2018-06-06T17:19:14.73]
      [2018-06-06T17:19:14.73] 6) Trying to create a duplicate StepRequest object
      [2018-06-06T17:19:14.73] with size=-2; depth=3 for the debuggee's thread "debuggee_thr"
      [2018-06-06T17:19:14.73] # ERROR: TEST CASE #6 FAILED: createStepRequest successfully done
      [2018-06-06T17:19:14.73] # ERROR: for a duplicate StepRequest object per the specified thread "debuggee_thr"
      [2018-06-06T17:19:14.73] # ERROR: but it should throw DuplicateRequestException

            vaibhav Vaibhav Choudhary (Inactive)
            eugsunw Eug Eug (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: