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

NativeDebug.dumpCounters with incorrect scope count

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • P3
    • Resolution: Fixed
    • 9
    • 9
    • core-libs
    • b82
    • generic
    • generic

    Backports

      Description

        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
        -----

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                  Created:
                  Updated:
                  Resolved: