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=8521>. 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=8521 DefaultLogger.java StringBuffer exception for long taskdef names Summary: DefaultLogger.java StringBuffer exception for long taskdef names Product: Ant Version: 1.5 alpha (nightly) Platform: All OS/Version: All Status: NEW Severity: Major Priority: Other Component: Core AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] org.apache.tools.ant.DefaultLogger version 1.37 throws a NegativeArrayIndex exception at line 257. I changed this: StringBuffer tmp = new StringBuffer( size ); into this: StringBuffer tmp = new StringBuffer(); and it builds and runs fine now. Problem is when the current task name is longer than 10 (like PathConvert), it tries to create a StringBuffer with a negative length. -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
