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

JVMCI Local.endBci is off-by-one

XMLWordPrintable

    • 9
    • b13

      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.

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

              Created:
              Updated:
              Resolved: