Appending to $CLASSPATH leads to bogus file-URLs on Windows
-----------------------------------------------------------

                 Key: JRUBY-1569
                 URL: http://jira.codehaus.org/browse/JRUBY-1569
             Project: JRuby
          Issue Type: Bug
          Components: Java Integration
    Affects Versions: JRuby 1.0.2
         Environment: Windows XP
            Reporter: Christian Seiler
            Priority: Minor


appending to $CLASSPATH variables creates bogus file-URLs on Windows. E.g. 
"c:/dev/tmp" gets "file://c:dev/tmp" which will start a FTP-session resulting 
in an UnknownHostException ("c" interpreted as host).

I think RubyClassPathVariable  should prepend "file:///" instead of "file://"

For a similiar issue:
http://forum.java.sun.com/thread.jspa?threadID=619473&messageID=3485575

It's not a very critical issue since it can easily be worked around by 
prepending "file://" before appending to $CLASSPATH

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

        

---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email

Reply via email to