Kernel#caller behavior is different for files with .rbw extension
-----------------------------------------------------------------

                 Key: JRUBY-5363
                 URL: http://jira.codehaus.org/browse/JRUBY-5363
             Project: JRuby
          Issue Type: Bug
          Components: Windows
    Affects Versions: JRuby 1.6RC1
            Reporter: Radoslav Peev


Given a file x.rb:

def foo
  p caller
end

foo

>"C:\jruby-1.6.0.RC1\bin\jruby.exe" "x.rb"
["x1.rb:5:in `(root)'"]

Rename the file to x.rbw:

>"C:\jruby-1.6.0.RC1\bin\jrubyw.exe" "x.rbw"
[]

This leads to require_relative not working from within .rbw files

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