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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • openjdk7u
    • openjdk7u
    • security-libs
    • None
    • b00
    • master
    • generic
    • generic

      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.

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

              Created:
              Updated:
              Resolved: