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

Collectors.toUnmodifiableList exposes shared secret

XMLWordPrintable

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

      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

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

              Created:
              Updated:
              Resolved: