NativeDebug.dumpCounters with incorrect scope count

Ahmed Ashour asashour at yahoo.com
Thu Sep 10 12:27:22 UTC 2015


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


More information about the nashorn-dev mailing list