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

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

    Details

    • Subcomponent:
    • CPU:
      generic
    • OS:
      linux

      Description

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

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: