jira-importer opened a new issue, #1409: URL: https://github.com/apache/httpcomponents-core/issues/1409
**[Sebb](https://issues.apache.org/jira/secure/[email protected])** opened **[HTTPCORE-213](https://issues.apache.org/jira/browse/HTTPCORE-213?redirect=false)** and commented CharArrayBuffer.substring(int beginIndex, int endIndex) checks indexes before invoking the String constructor, which also checks the indexes. String throws StringIndexOutOfBoundsException which is a subclass of IndexOutOfBoundsException. Code that catches IOOBE would also catch SIOOBE. If it was desired to maintain exact compatibilty then the exception could be caught and transformed. But in any case the checks could be removed. --- This issue is a sub-task of [HTTPCORE-212](https://issues.apache.org/jira/browse/HTTPCORE-212) -- 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
