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

Create a JarFile versionedStream method

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 9
    • 9
    • core-libs
    • None

      The API Note for JarFile::stream claims to demonstrate how to create a versioned stream, but it only finds versioned classes that have equivalent base classes. It misses versioned classes that are not public and it misses versioned resources. This API note needs to be removed and a versionedStream method needs to be added to JarFile because both jlink and jdeps use a versionedStream, and we'd need to duplicate the code in both tools.

            sdrach Steve Drach (Inactive)
            sdrach Steve Drach (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: