the ./ behavior with load is not MRI compatible
-----------------------------------------------

                 Key: JRUBY-3210
                 URL: http://jira.codehaus.org/browse/JRUBY-3210
             Project: JRuby
          Issue Type: Bug
          Components: Interpreter
    Affects Versions: JRuby 1.1.5
         Environment: linux/solaris
            Reporter: Meno Abels
         Attachments: jruby-load-classpath.patch

If there is a classpath set in the enviroment jruby doesn't load any ruby files 
which starts with ./. 
There is one exception if the classpath ends on a colon it works. 
But the dependancy between the classpath format and loading problems is not 
really desired. 

So i fixed it in the load() command. 

I made patch which includes the fix and some additional tests in test_load.rb.

Hopefully you will integrate it, we discovered this flaw in connection which 
the warbler

thanks in advance 

meno


-- 
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