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

Offsets miscalculated for blocks

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P3
    • 8
    • 8
    • core-libs
    • None
    • b82
    • generic
    • generic

    Description

      From: Petr Hejl <petr.hejl@oracle.com>

      Hi,
      I noticed some issues with offset while using the current Nashorn with NetBeans. The patch contains _quickfixes_ for:
      - wrong block offsets
      - wrong literal finish offset
      - wrong case node block finish offset
      - block containing var node ending with semicolon finish

      I'm not really sure the solution is the best one. Leaving up to you for
      evaluation.

      Thanks,
      P.


      Attachments

        Activity

          People

            jlaskey Jim Laskey
            jlaskey Jim Laskey
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: