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

scopeCall with -1 as line number

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2
    • Resolution: Fixed
    • Affects Version/s: 8u20, 9
    • Fix Version/s: 9
    • Component/s: core-libs
    • Labels:
      None
    • Subcomponent:
    • Resolved In Build:
      b02
    • CPU:
      generic
    • OS:
      generic
    • Verification:
      Verified

      Backports

        Description

        Hard to reproduce and reduce...
        The pasted testcase gets you the scopeCall with -1 as line number. As soon as one of the fn declaration is commented, scopeCall vanishes.

        It is observed in avatar-js dumped stacks.

        function fail() {
            throw new Error("Strange...");
        }

        var f2 = fail;
        var f3 = fail;
        var f4 = fail;
        var f5 = fail;

        try {
            fail();
        }catch(err) {
            print(err.stack);
        }

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                sundar Sundararajan Athijegannathan
                Reporter:
                jfdenise Jean-Francois Denise (Inactive)
                Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: