Uploaded image for project: 'Code Tools'
  1. Code Tools
  2. CODETOOLS-7900600

Instrumenter incorrectly processes LocalVariableTable entries of zero length

    XMLWordPrintable

Details

    • 1.1
    • generic
    • generic
    • Verified

    Description



      Name: kbR10066 Date: 09/19/2002


      Sometimes loading an instrumented class by JVM produces the following error:
      java.lang.ClassFormatError: <class name> (Invalid start_pc/length in local var table)
      at java.lang.ClassLoader.defineClass0(Native Method)
      at java.lang.ClassLoader.defineClass(ClassLoader.java:509)
                      . . .
      at java.lang.Class.forName(Class.java:130)
                      . . .

      It turns out that such error is reported when the instrumented class initially
      contained a zero-length entry in LocalVariableTable of one of its methods.

      The bug was reported by Sarada Kommalapati (###@###.###).

      ======================================================================

      Attachments

        Activity

          People

            afedorch Alexey Fedorchenko (Inactive)
            klooney Kevin Looney (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: