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

Implementation of Jar file does not match specification.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: P4 P4
    • None
    • 1.3.0
    • core-libs



      Name: dc32491 Date: 02/06/2001


      According to JAR File Specification <http://java.sun.com/j2se/1.3/docs/guide/jar/jar.html&gt;, JAR file is just a zip file that contains an optional META-INF directory. The actual implementation in JDK is using UTF8 encoding for file names. That is not compatible with Zip file format, even if it is a better approach.
      This incompatibility causes that file names are corrupted while using other Zip utility program such as WinZip to open a JAR file.
      It would be nice if SUN can update JAR file specification by describing explicitly that file names in JAR files are UTF8 encoded.
      (Review ID: 116476)
      ======================================================================

            Unassigned Unassigned
            duke J. Duke
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: