[
http://jira.codehaus.org/browse/WAGON-231?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=143376#action_143376
]
Benjamin Bentmann commented on WAGON-231:
-----------------------------------------
Forgot to mention: It is unclear what the return value should be for this case.
Could be empty string or "." as used in patch.
> PathUtils.toRelative() throws SIOOBE if supplied arguments specify the same
> directory
> -------------------------------------------------------------------------------------
>
> Key: WAGON-231
> URL: http://jira.codehaus.org/browse/WAGON-231
> Project: Maven Wagon
> Issue Type: Bug
> Components: wagon-provider-api
> Affects Versions: 1.0-beta-3
> Reporter: Benjamin Bentmann
> Attachments: to-relative.patch
>
>
> i.e. {{PathUtils.toRelative( new File( "foo" ).getAbsoluteFile(), new File(
> "foo" ).getAbsolutePath() )}} fails.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira