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

scopeCall with -1 as line number

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P2 P2
    • 9
    • 8u20, 9
    • core-libs
    • None
    • b02
    • generic
    • generic
    • Verified

        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);
        }

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

                Created:
                Updated:
                Resolved: