If ZipFile.entries() is enumerated the VM can crash - EXCEPTION_ACCESS_VIOLATION

XMLWordPrintable

    • Type: Bug
    • Resolution: Duplicate
    • Priority: P2
    • None
    • Affects Version/s: 1.3.0
    • Component/s: core-libs
    • None
    • x86
    • windows_2000

      java.util.zip.ZipFile.entries() is not safe.

      Think of code as follows:
      ZipFile zfile = new ZipFile("regular zip file");
      Enumeration entries = zfile.entries();
      zfile.close();
      entries.nextElement();

      #
      # An EXCEPTION_ACCESS_VIOLATION exception has been detected in native code outside the VM.
      # Program counter=0x1000dde0
      #

            Assignee:
            Michael Mccloskey (Inactive)
            Reporter:
            J. Duke
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: