dajiaohuang commented on PR #325:
URL: https://github.com/apache/commons-exec/pull/325#issuecomment-6392947622

   Independent validation: the canonical checkout at 
`1f3754e183323fc137f69d9837b5eab0e4b22055` reproduces 
`StringIndexOutOfBoundsException` for 
`CommandLine("grep").addArgument("end$").addArgument("${file}")` with a 
nonempty substitution map. An isolated JDK harness using this PR-head 
`StringUtils.java` with the canonical `CommandLine.java` preserved `end$` and 
expanded `${file}`; it also produced `IllegalArgumentException` for an 
unterminated `${file`. This validates those specific cases only; Maven was 
unavailable here, so I did not run the repository suite. I did not create a 
duplicate patch/PR, and this comment makes no CI or acceptance claim.


-- 
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]

Reply via email to