Updates to pom continually adds superfluous newlines under Java 9

Description

Under Java 9, each invocation of `clj -Spom` to update an existing pom causes newlines to be added.

It's worth noting that this happens only under Java 9. Java 1.8.0_152 works as expected.

Environment

version: 1.9.0.297

java version "9.0.1"
Java(TM) SE Runtime Environment (build 9.0.1+11)
Java HotSpot(TM) 64-Bit Server VM (build 9.0.1+11, mixed mode)

Status

Assignee

Alex Miller

Reporter

Timothy Pote

Labels

None

Approval

None

Patch

None

Priority

Minor
Configure