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

[TEST_BUG] Too many new-lines in backport of WeakAlg test

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: openjdk7u
    • Fix Version/s: openjdk7u
    • Component/s: security-libs
    • Labels:
      None
    • Introduced In Build:
      b00
    • Introduced In Version:
    • Resolved In Build:
      master
    • CPU:
      generic
    • OS:
      generic

      Description

      In translating:

      feed = Stream.of(input).collect(Collectors.joining("\n")) + "\n";

      to OpenJDK 7 code, we end up with too many new-lines as our version always adds element + '\n', while the collector only inserts them between elements, not after the final element. Thus the 8 version needs that final
      "\n" but the 7 version doesn't.

        Issue Links

          Activity

          Hide
          andrew Andrew Hughes added a comment -
          Fix submitted by Elliott Baron.
          Will be applied as part of the OpenJDK 7u161 security updates.
          Show
          andrew Andrew Hughes added a comment - Fix submitted by Elliott Baron. Will be applied as part of the OpenJDK 7u161 security updates.
          Hide
          hgupdate HG Updates added a comment -
          URL: http://hg.openjdk.java.net/jdk7u/jdk7u/jdk/rev/3a5876578022
          User: andrew
          Date: 2017-12-21 19:08:17 +0000
          Show
          hgupdate HG Updates added a comment - URL: http://hg.openjdk.java.net/jdk7u/jdk7u/jdk/rev/3a5876578022 User: andrew Date: 2017-12-21 19:08:17 +0000

            People

            • Assignee:
              andrew Andrew Hughes
              Reporter:
              andrew Andrew Hughes
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: