You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by GitBox <gi...@apache.org> on 2022/05/19 05:10:17 UTC

[GitHub] [maven-surefire] br0nstein commented on pull request #506: [SUREFIRE-2056] BufferOverflowException when encoding message with null testId

br0nstein commented on PR #506:
URL: https://github.com/apache/maven-surefire/pull/506#issuecomment-1131207467

   I have been able to work around the issue by gating instances of System.out.print(str) that my tests run behind a check that str is non-empty. And replacing all instances of System.out.println() / System.out.println("") with System.out.print('\n'). You could also print System.lineSeparator() to be sure to use Windows line separators on Windows.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@maven.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org