Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8084403 | emb-9 | Ivan Gerasimov | P5 | Resolved | Fixed | team |
http://docs.oracle.com/javase/8/docs/api/java/net/URI.html
Javadoc of the URI class contains this sample:
new URI(u.getScheme(),
u.getUserInfo(), u.getAuthority(),
u.getPath(), u.getQuery(),
u.getFragment())
.equals(u)
The constructor used does not correspond to any existing one.
Most likely u.getUserInfo() is redundant here.
Javadoc of the URI class contains this sample:
new URI(u.getScheme(),
u.getUserInfo(), u.getAuthority(),
u.getPath(), u.getQuery(),
u.getFragment())
.equals(u)
The constructor used does not correspond to any existing one.
Most likely u.getUserInfo() is redundant here.
- backported by
-
JDK-8084403 Not quite correct code sample in javadoc
-
- Resolved
-
- duplicates
-
JDK-8186644 URI syntax and components - Identities description wrong
-
- Closed
-