The GitHub Actions job "Java CI" on commons-cli.git/text-help-wrap-width-one 
has failed.
Run started by GitHub user rootvector2 (triggered by rootvector2).

Head commit for run:
8d5b2669ef6e4d545bd679a4dabf9c507cd8cb03 / Naveed Khan <[email protected]>
fix infinite loop in TextHelpAppendable.makeColumnQueue at width 1

indexOfWrap chops a line without whitespace at limit - 1, which is startPos 
when the width is 1, so makeColumnQueue re-reads the same position and grows 
its queue until the heap is exhausted. appendList hits this with default 
settings for an 8 character entry containing a line break because it sizes the 
wrap width from the entry length, and throws for shorter entries. Always 
consume at least one character in indexOfWrap and wrap list entries at the 
configured width.

Report URL: https://github.com/apache/commons-cli/actions/runs/36610659950

With regards,
GitHub Actions via GitBox

Reply via email to