[ 
https://issues.apache.org/jira/browse/BEAM-1174?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17132484#comment-17132484
 ] 

Beam JIRA Bot commented on BEAM-1174:
-------------------------------------

This issue is assigned but has not received an update in 30 days so it has been 
labeled "stale-assigned". If you are still working on the issue, please give an 
update and remove the label. If you are no longer working on the issue, please 
unassign so someone else may work on it. In 7 days the issue will be 
automatically unassigned.

> URI Java library unexpected behavior.
> -------------------------------------
>
>                 Key: BEAM-1174
>                 URL: https://issues.apache.org/jira/browse/BEAM-1174
>             Project: Beam
>          Issue Type: Sub-task
>          Components: io-java-gcp, sdk-java-core
>            Reporter: Pei He
>            Assignee: Pei He
>            Priority: P2
>              Labels: stale-assigned
>
> Following code creates an invalid URI silently.
> URI uri = URI.create("gs://bucket").resolve("staging")
> a). uri.toString() returns gs://bucketstaging
> b). "java.net.URISyntaxException: Relative path in absolute URI: 
> gs://bucketstaging" thrown by
> new URI(uri.getScheme(), uri.getAuthority(), uri.getPath(), uri.getQuery(), 
> uri.getFragment())
> Conversions between URIs and Strings have to be handled with with extreme 
> caution. :(



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to