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

Create a JarFile versionedStream method

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 9
    • Fix Version/s: 9
    • Component/s: core-libs
    • Labels:
      None

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: