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

CharacterRangeTable: implicit return is not included in code range of method

    XMLWordPrintable

Details

    • beta2
    • generic
    • generic
    • Verified

    Description



      Name: poR10007 Date: 05/21/2001



      The javac (since jdk1.4.0beta-b59) produces class files with CharacterRangeTable
      attribute when -Xjcov option is specified. The code range of CharacterRangeTable
      entries for the block that is the body of a void method or a constructor does not
      include an implicit return statement provided by the compiler at the end of the
      method. This is incorrect for code-to-source mapping because such return instruction
      is in essence a part of the method's body.

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

      Attachments

        Activity

          People

            passunw Pas Pas (Inactive)
            passunw Pas Pas (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: