NativeDebug.dumpCounters with incorrect scope count

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P3
    • 9
    • Affects Version/s: 9
    • Component/s: core-libs
    • b82
    • generic
    • generic

        From http://mail.openjdk.java.net/pipermail/nashorn-dev/2015-September/005197.html:

        -----
        Hi all,

        In NativeDebug.dumpCounters(), there is:


        out.println("Scope count " + Scope.getCount());

        However, Scope doesn't have its own .getCount(), but calls the super (ScriptObject) one.

        I think Scope.getScopeCount() should be used instead.

        Thanks,
        Ahmed
        -----

              Assignee:
              Attila Szegedi
              Reporter:
              Attila Szegedi
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: