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

NativeDebug.dumpCounters with incorrect scope count

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 9
    • 9
    • 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
        -----

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

                Created:
                Updated:
                Resolved: