Regression: JRuby prints Exception in thread "main" when it shouldn't
---------------------------------------------------------------------

                 Key: JRUBY-1998
                 URL: http://jira.codehaus.org/browse/JRUBY-1998
             Project: JRuby
          Issue Type: Bug
          Components: Core Classes/Modules
         Environment: Latest JRuby 1.1RC1 from trunk
            Reporter: Vladimir Sizikov
            Priority: Blocker


1. 
bin/jruby -S spec --version

RSpec-1.1.2 (build 20080114022430) - BDD for Ruby
http://rspec.rubyforge.org/
Exception in thread "main" 
/opt/work/jruby.git.other/lib/ruby/gems/1.8/gems/rspec-1.1.2/lib/spec.rb:32: 
exit (SystemExit)
        ...internal jruby stack elided...

but:
#>bin/jruby -X+C -S spec --version
RSpec-1.1.2 (build 20080114022430) - BDD for Ruby
http://rspec.rubyforge.org/

2. also:
jruby -rstuff
Exception in thread "main" org.jruby.exceptions.RaiseException: no such file to 
load -- stuff
       ...internal jruby stack elided...

I've verified that this behavior is caused by r5628:
Large refactoring of Main.java and Ruby.java.



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