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

java.util.zip and java.util.jar should implement NIO interfaces

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Unresolved
    • Icon: P5 P5
    • None
    • 1.4.2, 5.0u1, 7
    • core-libs
    • None
    • Cause Known
    • generic, x86, sparc
    • solaris_8, solaris_10, windows_xp

      There is no mechanism to get a ByteBuffer directly from a Zip/Jar file entry.
      Or, in general, from an InputStream. The current APIs require reading the
      data into a byte array and then wrapping that.

            sherman Xueming Shen
            gafter Neal Gafter (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Imported:
              Indexed: