Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Invalid
-
1.0-M3
-
None
-
None
Description
[Looking at 1.0-M3 source code]
The Geronimo types:
org.apache.geronimo.system.url.file.Handler
and
org.apache.geronimo.system.url.file.FileURLConnection
both import and use the Sun non-API type "sun.net.www.ParseUtil". It appears that the usage is quite trivial, and can easily be replaced by API calls on URLDecoder. This will remove a JRE-implementation dependency.
The only caveat is that simple tests show that URLDecoder decodes 'more' than the ParseUtil, so while both methods will convert "a%20b" to "a b"; the URLDecoder will convert "a+b" to "a b" whereas ParseUtil leaves it as "a+b". Is this difference in decoding behavior expected by Geronimo?
Attachments
Attachments
Issue Links
- is depended upon by
-
GERONIMO-433 Tolerate non-Sun JREs
- Closed