This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Patch: Fix line-number lookup in creating a StackTraceElement


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]