Skip to content

Commit

Permalink
use platform-specific EOL
Browse files Browse the repository at this point in the history
  • Loading branch information
jaredstehler authored and gnodet committed Oct 28, 2023
1 parent 28bffc8 commit 20152f3
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -564,7 +564,7 @@ protected CompilerResult compileOutOfProcess(CompilerConfiguration config, Strin
returnCode = CommandLineUtils.executeCommandLine(cli, out, out);

if (log.isDebugEnabled()) {
log.debug("Compiler output:\n{}", out.getOutput());
log.debug("Compiler output:{}{}", EOL, out.getOutput());
}

messages = parseModernStream(returnCode, new BufferedReader(new StringReader(out.getOutput())));
Expand Down Expand Up @@ -622,7 +622,7 @@ private CompilerResult compileInProcess0(Class<?> javacClass, String[] args) thr
ok = (Integer) compile.invoke(null, new Object[] {args, new PrintWriter(out)});

if (log.isDebugEnabled()) {
log.debug("Compiler output:\n{}", out.toString());
log.debug("Compiler output:{}{}", EOL, out.toString());
}

messages = parseModernStream(ok, new BufferedReader(new StringReader(out.toString())));
Expand Down

0 comments on commit 20152f3

Please sign in to comment.