[jboss-jira] [JBoss JIRA] Created: (JBCOMMON-106) FileURLConnection is broken for Mac OS

Ales Justin (JIRA) jira-events at lists.jboss.org
Wed Feb 10 07:10:11 EST 2010


FileURLConnection is broken for Mac OS
--------------------------------------

                 Key: JBCOMMON-106
                 URL: https://jira.jboss.org/jira/browse/JBCOMMON-106
             Project: JBoss Common
          Issue Type: Bug
      Security Level: Public (Everyone can see)
            Reporter: Ales Justin
            Assignee: Dimitris Andreadis


Usage of URLDecored in FileURLConnection breaks File reading on Mac OS,
as it changes '+' chars into space, hence the file is not found under new path.

The fix is to simply take URL, get its URI and finally feed this URI to File ctor.


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list