Other |
---|
openjdk7u masterFixed |
Relates :
|
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.
|