Patch: Fix line-number lookup in creating a StackTraceElement
Mark Wielaard
mark@klomp.org
Wed Feb 12 22:33:00 GMT 2003
Hi,
On Wed, 2003-02-12 at 20:49, Ranjit Mathew wrote:
> The following patch proposes to remedy this by using lastIndexOf( )
> instead of indexOf( ) to find the position of the colon separating
> the file name from the line number.
This looks obviously correct to me. And on some systems ':' is also
valid in file names so this should also help in the unlikely case ':' is
used in a path on other systems.
Do you have CVS access or do you want me to check this in?
Cheers,
Mark
More information about the Java-patches
mailing list