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

[TEST] wrong breakpoint in test/jdk/com/sun/jdi/DeferredStepTest

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P5
    • Resolution: Fixed
    • Affects Version/s: 12
    • Fix Version/s: 12
    • Component/s: core-svc
    • Labels:
      None
    • Subcomponent:
    • Resolved In Build:
      b17
    • CPU:
      generic
    • OS:
      generic

      Description

      The test log contains:

      > stop at DeferredStepTestTarg$jj1:54
      [jdb] Deferring breakpoint DeferredStepTestTarg$jj1:54.
      [jdb] It will be set after the class is loaded.
      [jdb] main[1]
      > stop at DeferredStepTestTarg$jj2:66
      [jdb] Deferring breakpoint DeferredStepTestTarg$jj2:66.
      [jdb] It will be set after the class is loaded.
      [jdb] main[1]
      > stop at DeferredStepTestTarg$jj2:117
      [jdb] Deferring breakpoint DeferredStepTestTarg$jj2:117.
      [jdb] It will be set after the class is loaded.
      [jdb] main[1]
      > run
      [debuggee] Version = 12-internal
      [jdb] > Set deferred breakpoint DeferredStepTestTarg$jj1:54
      [jdb] Unable to set deferred breakpoint DeferredStepTestTarg$jj2:117 : No code at line 117 in DeferredStepTestTarg$jj2
      [jdb]
      [jdb] Stopping due to deferred breakpoint errors.

      line 117 contains comment with "@2 breakpoint" which is parsed as breakpoint

        Attachments

          Activity

            People

            • Assignee:
              amenkov Alex Menkov
              Reporter:
              amenkov Alex Menkov
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: