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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P2 P2
    • None
    • 1.3.0
    • 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
      #

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: