You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
S3Path.resolve(Path) currently assumes that its argument is always another S3Path, and throws a ClassCastException if it is not (except for absolute paths, for which you do get a neat error message).
This is inconvenient for us, as we often store relative paths internally using the result of java.nio.file.Paths.get("example/file"). I propose to allow other Path types as arguments for relative paths.
Tasks
The following tasks will need to be carried out:
Allow relative non-S3Path paths as arguments to S3Path.resolve().
This is a partial resubmission of Upplication/Amazon-S3-FileSystem-NIO2#104, which was made by my colleague @sbeimin.
Task Description
S3Path.resolve(Path) currently assumes that its argument is always another S3Path, and throws a ClassCastException if it is not (except for absolute paths, for which you do get a neat error message).
This is inconvenient for us, as we often store relative paths internally using the result of java.nio.file.Paths.get("example/file"). I propose to allow other Path types as arguments for relative paths.
Tasks
The following tasks will need to be carried out:
Help
The text was updated successfully, but these errors were encountered: