Uploaded image for project: 'Groovy'
  1. Groovy
  2. GROOVY-9373

ASM: rework line numbers for blocks with fast-path, try/catch or return statement insertion

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.4.18, 2.5.9, 3.0.0-rc-3
    • 4.0.0-alpha-3
    • None
    • None

    Description

      GROOVY-4063, GROOVY-4505, GROOVY-7647, GROOVY-8742, GROOVY-9076, GROOVY-9126 and GROOVY-9199 present (possibly) conflicting concerns. Code coverage metrics are thrown off when line number information exists outside of the reachable paths in the bytecode. Debug break and step exhibit strange behaviors when the bytecode contains insufficient or duplicated line number information.

      Can the ASM changes in StatementWriter be reworked to address these concerns?

      See also https://github.com/jacoco/jacoco/issues/884

      Attachments

        Activity

          People

            emilles Eric Milles
            emilles Eric Milles
            Votes:
            3 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 0.5h
                0.5h