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

ClassListParser::_interfaces should be freed

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 18
    • 17, 18
    • hotspot
    • b02

      ClassListParser::ClassListParser(const char* file) {
        ...
        _interfaces = new (ResourceObj::C_HEAP, mtClass) GrowableArray<int>(10, mtClass);
        _indy_items = new (ResourceObj::C_HEAP, mtClass) GrowableArray<const char*>(9, mtClass);
       ...
      }

      These should be freed inside the destructor.

            ccheung Calvin Cheung
            iklam Ioi Lam
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: