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

java.util.jar.JarOutputStream incorrectly sets 'extra' field

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P3
    • 7
    • 6
    • core-libs
    • b03
    • generic
    • generic
    • Verified

    Backports

      Description

        java.util.jar.JarOutputStream.putNextEntry has the order of arguments reversed in arraycopying the extra field. If a JarEntry has client-provided extra data, it will be lost.

        Attachments

          Issue Links

            Activity

              People

                bristor Dave Bristor
                bristor Dave Bristor
                Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: