United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-6501502 JSR 199: FileObject.toUri should return file:///c:/ or file:/c:/ not file://c:/
JDK-6501502 : JSR 199: FileObject.toUri should return file:///c:/ or file:/c:/ not file://c:/

Details
Type:
Bug
Submit Date:
2006-12-06
Status:
Closed
Updated Date:
2012-01-13
Project Name:
JDK
Resolved Date:
2012-01-13
Component:
tools
OS:
generic
Sub-Component:
javac
CPU:
generic
Priority:
P3
Resolution:
Fixed
Affected Versions:
6
Fixed Versions:

Related Reports
Backport:

Sub Tasks

Description
The URI returned by the standard file manager URIs causing problems
for URL.openConnection.

See https://openjdk.dev.java.net/servlets/BrowseList?listName=compiler-dev&by=thread&from=601794&to=601794

                                    

Comments
SUGGESTED FIX

Just use java.io.File.toURI.  It does not canonicalize its return value
as we had initially assumed.
                                     
2006-12-07
EVALUATION

See Suggested Fix
                                     
2006-12-07



Hardware and Software, Engineered to Work Together