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

Collectors.toUnmodifiableList exposes shared secret

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P3
    • 16
    • None
    • core-libs
    • None

    Description

      It's possible to gain access to the listFromTrustedArray shared secret by calling the finisher() method on the returned Collector instance.

      Noted by Tagir Valeev here: https://github.com/openjdk/jdk/pull/449#issuecomment-704001706

      Attachments

        Issue Links

          Activity

            People

              smarks Stuart Marks
              smarks Stuart Marks
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: