Log in
Skip to main content
Skip to sidebar
Dashboards
Projects
Issues
Help
Jira Core help
Keyboard Shortcuts
About Jira
Jira Credits
Log In
Watched Subcomponents
JDK
JDK-6348515
java.net.URI.compareTo doesn't work
Log In
Resolved
Export
null
XML
Word
Printable
Details
Type:
Bug
Resolution:
Fixed
Priority:
P3
Fix Version/s:
6
Affects Version/s:
6
Component/s:
core-libs
Labels:
conformance
mustang-low
regression
Subcomponent:
java.net
Resolved In Build:
b63
CPU:
generic
OS:
generic
Description
It seems method 'URI.compareTo' almost always returns 1.
try {
URI u = new URI("
h://a/p
");
System.out.println( u.compareTo(new URI("
h://a/p
")) );
} catch (URISyntaxException e) {
e.printStackTrace();
}
this code prints '1'
Attachments
Activity
People
Assignee:
Yujiang Wang (Inactive)
Reporter:
Igor Tseytin (Inactive)
Votes:
0
Vote for this issue
Watchers:
0
Start watching this issue
Dates
Created:
2005-11-10 04:43
Updated:
2011-01-19 03:40
Resolved:
2005-12-02 22:05
Imported:
16/Sep/12 12:37 AM
Indexed:
17/Jul/12 8:46 PM