Backtrace RubySpec errors in 1.8 compile mode
---------------------------------------------
Key: JRUBY-5258
URL: http://jira.codehaus.org/browse/JRUBY-5258
Project: JRuby
Issue Type: Bug
Components: Compiler, Ruby 1.8.7, RubySpec
Affects Versions: JRuby 1.6
Environment: master branch
Reporter: Hiro Asari
Assignee: Charles Oliver Nutter
Doesn't appear to be a problem with interpreted mode, or JIT-compile mode.
{noformat}
$ jruby -S rake spec:precompiled_18
(in /Users/asari/Development/src/jruby)
MSPEC: {:compile_mode=>"FORCE",
:spec_config=>"/Users/asari/Development/src/jruby/spec/jruby.1.8.mspec",
:jit_threshold=>0, :jit_max=>-1, :objectspace_enabled=>true,
:thread_pooling=>false, :reflection=>false, :compat=>"RUBY1_8"}
JAVA options: {:dir=>"/Users/asari/Development/src/jruby",
:resultproperty=>"spec.status.FORCE", :fork=>"true", :failonerror=>"true",
:classname=>"org.jruby.Main", :maxmemory=>"512M"}
jruby 1.6.0.dev (ruby 1.8.7 patchlevel 249) (2010-12-14 f54db63) (Java
HotSpot(TM) 64-Bit Server VM 1.6.0_22) [darwin-x86_64-java]
1)
Exception#backtrace includes the name of the method from where self raised in
the first element FAILED
Expected
"/Users/asari/Development/src/jruby/spec/ruby/core/exception/fixtures/common.rb:22:in
`SYNTHETICbacktrace'"
to match /in `backtrace'/
/Users/asari/Development/src/jruby/spec/ruby/core/exception/backtrace_spec.rb:30:in
`__file__'
org/jruby/RubyObject.java:1204:in `instance_eval'
org/jruby/RubyEnumerable.java:1264:in `all_p'
org/jruby/RubyArray.java:1655:in `each'
/Users/asari/Development/src/jruby/spec/ruby/core/exception/backtrace_spec.rb:4:in
`(root)'
org/jruby/RubyKernel.java:1066:in `load'
org/jruby/RubyObject.java:1204:in `instance_eval'
org/jruby/RubyArray.java:1655:in `each'
2)
Exception#backtrace includes the filename of the location immediately prior to
where self raised in the second element FAILED
Expected
"/Users/asari/Development/src/jruby/spec/ruby/core/exception/fixtures/common.rb:21:in
`backtrace'"
to match /backtrace_spec\.rb/
/Users/asari/Development/src/jruby/spec/ruby/core/exception/backtrace_spec.rb:34:in
`__file__'
org/jruby/RubyObject.java:1204:in `instance_eval'
org/jruby/RubyEnumerable.java:1264:in `all_p'
org/jruby/RubyArray.java:1655:in `each'
/Users/asari/Development/src/jruby/spec/ruby/core/exception/backtrace_spec.rb:4:in
`(root)'
org/jruby/RubyKernel.java:1066:in `load'
org/jruby/RubyObject.java:1204:in `instance_eval'
org/jruby/RubyArray.java:1655:in `each'
3)
Exception#backtrace includes the line number of the location immediately prior
to where self raised in the second element FAILED
Expected
"/Users/asari/Development/src/jruby/spec/ruby/core/exception/fixtures/common.rb:21:in
`backtrace'"
to match /:6(:in )?/
/Users/asari/Development/src/jruby/spec/ruby/core/exception/backtrace_spec.rb:38:in
`__file__'
org/jruby/RubyObject.java:1204:in `instance_eval'
org/jruby/RubyEnumerable.java:1264:in `all_p'
org/jruby/RubyArray.java:1655:in `each'
/Users/asari/Development/src/jruby/spec/ruby/core/exception/backtrace_spec.rb:4:in
`(root)'
org/jruby/RubyKernel.java:1066:in `load'
org/jruby/RubyObject.java:1204:in `instance_eval'
org/jruby/RubyArray.java:1655:in `each'
Finished in 122.896000 seconds
2858 files, 11874 examples, 38906 expectations, 3 failures, 0 errors
rake aborted!
org.apache.tools.ant.ExitStatusException: Java returned: 1
(See full trace by running task with --trace)
{noformat}
--
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