This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
Re: Patch: Fix line-number lookup in creating a StackTraceElement
- From: Mark Wielaard <mark at klomp dot org>
- To: Ranjit Mathew <rmathew at hotmail dot com>
- Cc: java-patches at gcc dot gnu dot org
- Date: 12 Feb 2003 23:33:06 +0100
- Subject: Re: Patch: Fix line-number lookup in creating a StackTraceElement
- Organization:
- References: <3E4AA545.3CB8BB13@hotmail.com>
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