Skip to content

Commit

Permalink
8244981: jpackage error due to missing final newline in Debian contro…
Browse files Browse the repository at this point in the history
…l file

Reviewed-by: herrick, asemenyuk
  • Loading branch information
nick-arm committed May 18, 2020
1 parent 76b7665 commit dde3b90
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -305,7 +305,7 @@ private void processResourceStream(InputStream rawResource,
try (BufferedReader reader = new BufferedReader(
new InputStreamReader(rawResource, StandardCharsets.UTF_8))) {
String data = substitute(reader.lines(), substitutionData).collect(
Collectors.joining("\n"));
Collectors.joining("\n", "", "\n"));
try (InputStream in = new ByteArrayInputStream(data.getBytes(
StandardCharsets.UTF_8))) {
dest.consume(in);
Expand Down

0 comments on commit dde3b90

Please sign in to comment.