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

JVMCI Local.endBci is off-by-one

    XMLWordPrintable

Details

    • 9
    • b13

    Description

      In class files, in the local variable table, local variables have a start bci and a length. The local variable is considered alive from bci (inclusive) until bci + length (exclusive).
      On the other end, JVMCI stores that in Local objects with a start bci and and inclusive end bci.
      Currently the parser just uses bci+length to compute the end bci, leading to an off-by-one error.

      Attachments

        Issue Links

          Activity

            People

              gdub Gilles Duboscq
              gdub Gilles Duboscq
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: