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

change CRTable position to character offset

XMLWordPrintable

    • generic
    • generic

      Javac now uses character offset to store source file positions. But CharacterRangeTable
      still uses packed integers to store source file ranges, which hold the line and column
      position. The packed integers suffer from overflow problem. Very long source files or
      files with very wide columns can overrun the fields in the packaged integer.

      It is better to use character offset to represent CharacterRangeTable's ranges. For
      compatibility reason, a new alternative attribute may be introduced.

            Unassigned Unassigned
            wtaosunw Wei Tao (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Imported:
              Indexed: