You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by bu...@apache.org on 2002/05/07 15:17:10 UTC
DO NOT REPLY [Bug 8868] New: -
ConvertUtils.convert does not support zero-length arrays
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=8868>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=8868
ConvertUtils.convert does not support zero-length arrays
Summary: ConvertUtils.convert does not support zero-length arrays
Product: Commons
Version: 1.1 Final
Platform: All
OS/Version: All
Status: NEW
Severity: Normal
Priority: Other
Component: Bean Utilities
AssignedTo: commons-dev@jakarta.apache.org
ReportedBy: mancarella@opoipi.bancaintesa.it
Passing a zero-length array to ConvertUtils.convert causes an
ArrayIndexOutOfBounds exception.
That's because if the argument is recognized as an Array, the method
simply looks for the first array element, without checking the array size first.
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>