Charl Matthee created JRUBY-6273:
------------------------------------

             Summary: celerity and 1.9 mode do not coexist
                 Key: JRUBY-6273
                 URL: https://jira.codehaus.org/browse/JRUBY-6273
             Project: JRuby
          Issue Type: Bug
         Environment: OS X Lion, running jruby-1.5.6 or jruby-head (via rvm) in 
1.9 mode and celerity gem.
            Reporter: Charl Matthee
            Assignee: Thomas E Enebo


$ java -version
openjdk version "1.7.0-ea"
OpenJDK Runtime Environment (build 1.7.0-ea-b221)
OpenJDK 64-Bit Server VM (build 21.0-b17, mixed mode)

$ jruby -v
jruby 1.6.5 (ruby-1.9.2-p136) (2011-10-25 9dcd388) (OpenJDK 64-Bit Server VM 
1.7.0-ea) [darwin-x86_64-java]

$ echo $JRUBY_OPTS
--1.9 -J-Xmx1024m$ irb

$ irb
~> Console extensions: wirble hirb ap rails2 rails3
jruby-1.6.5 :001 > require 'celerity'
 => true 
jruby-1.6.5 :002 > browser = Celerity::Browser.new
SystemStackError: stack level too deep
        from org/jruby/RubyArray.java:2358:in `map!'
        from 
/Users/charl/.rvm/gems/jruby-1.6.5@nsci-dashboard/gems/celerity-0.9.1/lib/celerity/short_inspect.rb:13:in
 `short_inspect'
        from 
/Users/charl/.rvm/gems/jruby-1.6.5@nsci-dashboard/gems/celerity-0.9.1/lib/celerity/browser.rb:84:in
 `inspect'
        from 
/Users/charl/.rvm/gems/jruby-1.6.5@nsci-dashboard/gems/celerity-0.9.1/lib/celerity/short_inspect.rb:13:in
 `short_inspect'
        from org/jruby/RubyArray.java:2358:in `map!'
        from 
/Users/charl/.rvm/gems/jruby-1.6.5@nsci-dashboard/gems/celerity-0.9.1/lib/celerity/short_inspect.rb:13:in
 `short_inspect'
        from 
/Users/charl/.rvm/gems/jruby-1.6.5@nsci-dashboard/gems/celerity-0.9.1/lib/celerity/browser.rb:84:in
 `inspect'
        from 
/Users/charl/.rvm/gems/jruby-1.6.5@nsci-dashboard/gems/celerity-0.9.1/lib/celerity/short_inspect.rb:13:in
 `short_inspect'
        from org/jruby/RubyArray.java:2358:in `map!'
        from 
/Users/charl/.rvm/gems/jruby-1.6.5@nsci-dashboard/gems/celerity-0.9.1/lib/celerity/short_inspect.rb:13:in
 `short_inspect'
        from 
/Users/charl/.rvm/gems/jruby-1.6.5@nsci-dashboard/gems/celerity-0.9.1/lib/celerity/browser.rb:84:in
 `inspect'
        from 
/Users/charl/.rvm/gems/jruby-1.6.5@nsci-dashboard/gems/celerity-0.9.1/lib/celerity/short_inspect.rb:13:in
 `short_inspect'
        from org/jruby/RubyArray.java:2358:in `map!'
        from 
/Users/charl/.rvm/gems/jruby-1.6.5@nsci-dashboard/gems/celerity-0.9.1/lib/celerity/short_inspect.rb:13:in
 `short_inspect'
        from 
/Users/charl/.rvm/gems/jruby-1.6.5@nsci-dashboard/gems/celerity-0.9.1/lib/celerity/browser.rb:84:in
 `inspect'
        from 
/Users/charl/.rvm/gems/jruby-1.6.5@nsci-dashboard/gems/celerity-0.9.1/lib/celerity/short_inspect.rb:13:in
 `short_inspect'
... 103 levels...
        from 
/Users/charl/.rvm/gems/jruby-1.6.5@nsci-dashboard/gems/celerity-0.9.1/lib/celerity/short_inspect.rb:13:in
 `short_inspect'
        from org/jruby/RubyArray.java:2358:in `map!'
        from 
/Users/charl/.rvm/gems/jruby-1.6.5@nsci-dashboard/gems/celerity-0.9.1/lib/celerity/short_inspect.rb:13:in
 `short_inspect'
        from 
/Users/charl/.rvm/gems/jruby-1.6.5@nsci-dashboard/gems/celerity-0.9.1/lib/celerity/browser.rb:84:in
 `inspect'
        from 
/Users/charl/.rvm/gems/jruby-1.6.5@nsci-dashboard/gems/celerity-0.9.1/lib/celerity/short_inspect.rb:13:in
 `short_inspect'
        from org/jruby/RubyArray.java:2358:in `map!'
        from 
/Users/charl/.rvm/gems/jruby-1.6.5@nsci-dashboard/gems/celerity-0.9.1/lib/celerity/short_inspect.rb:13:in
 `short_inspect'
        from 
/Users/charl/.rvm/gems/jruby-1.6.5@nsci-dashboard/gems/celerity-0.9.1/lib/celerity/browser.rb:84:in
 `inspect'
        from 
/Users/charl/.rvm/gems/jruby-1.6.5@nsci-dashboard/gems/celerity-0.9.1/lib/celerity/short_inspect.rb:13:in
 `short_inspect'
        from org/jruby/RubyArray.java:2358:in `map!'
        from 
/Users/charl/.rvm/gems/jruby-1.6.5@nsci-dashboard/gems/celerity-0.9.1/lib/celerity/short_inspect.rb:13:in
 `short_inspect'
        from 
/Users/charl/.rvm/gems/jruby-1.6.5@nsci-dashboard/gems/celerity-0.9.1/lib/celerity/browser.rb:84:in
 `inspect'
        from 
/Users/charl/.rvm/gems/jruby-1.6.5@nsci-dashboard/gems/celerity-0.9.1/lib/celerity/short_inspect.rb:13:in
 `short_inspect'
        from org/jruby/RubyArray.java:2358:in `map!'
        from 
/Users/charl/.rvm/gems/jruby-1.6.5@nsci-dashboard/gems/celerity-0.9.1/lib/celerity/short_inspect.rb:13:in
 `short_inspect'
        from 
/Users/charl/.rvm/gems/jruby-1.6.5@nsci-dashboard/gems/celerity-0.9.1/lib/celerity/browser.rb:84:in
 `inspect'jruby-1.6.5 :003 >

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://jira.codehaus.org/secure/ContactAdministrators!default.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