JDK-8191845 : [TEST_BUG] Too many new-lines in backport of WeakAlg test
  • Type: Bug
  • Component: security-libs
  • Affected Version: openjdk7u
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2017-11-24
  • Updated: 2017-12-21
  • Resolved: 2017-12-21
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
Other
openjdk7u masterFixed
Related Reports
Relates :  
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.


Comments
Fix submitted by Elliott Baron. Will be applied as part of the OpenJDK 7u161 security updates.
24-11-2017