Tibor17 commented on PR #506: URL: https://github.com/apache/maven-surefire/pull/506#issuecomment-1090001986
> I suspect the reason we don't get the bug with a non-empty message is that we over-allocate space in the buffer for the message: `length * <maximum possible size of UTF-8 characters>` @yrodiere yes, I know that the non-empty string may compensate this bug. If this bugs knocks too much, we would have to do somehing about a new release. This method is acctually the minimum guaranteed buffer size. An exact value would have a performance impact and so it would invalidate whole idea. -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
