olsavmic commented on issue #1119: URL: https://github.com/apache/maven-mvnd/issues/1119#issuecomment-2320773035
> private static final int MAX_LENGTH = 32768; Looking at the implementation, it actually seems that the constant is not named correctly. The code already supports resizing of the buffer based on the needs (both up and down). The MAX_LENGTH is just a default value MIN value. @ppalaga > @olsavmic I wonder, what would be the limit in bytes that would solve this for you? From the practical standpoint, I doubt we will ever go over 2x the current limit. We're just slightly over the limit in one of our projects due the `--add-opens` requirements of the static analysis libs we're using. Given the auto-resizing buffer logic, I'd argue that switching to `Short.MAX_VALUE` is a good solution for all real-world projects. -- 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]
