Hi,

> The second change involved removing a leading '/' from the returned
> relative path to make it consistent with results from other Java VMs.
> 
> This patch corrects two issues found in URI.relativize() method in
> libjava/classpath/java/net/URI.java. It applies from gcc 4.1.2 through latest
> trunk:
> 
> * does stricter check for a path match while still using String.startsWith()
> * excludes leading '/' if necessary for relative path fragment being returned
Please check whether this does not cause the wrong behavior described
here come up again: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24249

Regards
Robert

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to