jhat javascript in hat.js references non-existent Java API in Enumeration

XMLWordPrintable

    • Type: Bug
    • Resolution: Won't Fix
    • Priority: P3
    • tbd
    • Affects Version/s: 8, 9
    • Component/s: core-svc
    • generic
    • linux

      I tried to write some OQL code and hit a problem when I called heap.forEachObject. Seems that the code in hat.js calls clazz.getInstances() which is in com.sun.tools.hat.internal.model.JavaClass and it returns an Enumeration. Code then tries to reference hasNextElements() in the Enumeration but it should call hasMoreElements(); there is no hasNextElements()

            Assignee:
            Unassigned
            Reporter:
            Bill Pittore (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: