-
Bug
-
Resolution: Fixed
-
P2
-
6
-
b63
-
generic
-
generic
the test
try {
URI u = new URI("host:opa:que?query#fragment");
System.out.println( u.getPath() );
} catch (URISyntaxException e) {
e.printStackTrace();
}
shows that this URI have null path. (parseServerAuthority has no effect:)
In this case path = 'opa:que'
RFC says that path can't be undefined, it can be empty
try {
URI u = new URI("host:opa:que?query#fragment");
System.out.println( u.getPath() );
} catch (URISyntaxException e) {
e.printStackTrace();
}
shows that this URI have null path. (parseServerAuthority has no effect:)
In this case path = 'opa:que'
RFC says that path can't be undefined, it can be empty
- relates to
-
JDK-6348622 java.net.URI.parseServerAuthority is not necessary any more and its javadoc has wrong statement
-
- Resolved
-