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

Collectors.toUnmodifiableList exposes shared secret

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 16
    • Component/s: core-libs
    • Labels:
      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

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

                Dates

                • Created:
                  Updated:
                  Resolved: