--debug causes problems. Methods are missing.
----------------------------------------------
Key: JRUBY-3731
URL: http://jira.codehaus.org/browse/JRUBY-3731
Project: JRuby
Issue Type: Bug
Affects Versions: JRuby 1.3, JRuby 1.3RC2, JRuby 1.3RC1, JRuby 1.2
Environment: MAC OS X
Reporter: Jay McGaffigan
Assignee: Thomas E Enebo
Priority: Critical
Fix For: JRuby 1.4
When upgrading RCov. I found an issue with jruby.
RCov now needs to run with the --debug flag for JRuby invocations.
--debug has some issues tho:
running jruby with --debug if I require the 'yaml' library, I am missing
methods (load_file and load_stream, and 8 others)
We are also seeing behavior where if we are getting a connection error on a
transaction during failover we can only catch the java exceptions in --debug
mode. but maybe that's a separate issue.
here is the test case:
launch jirb.
require 'yaml'
puts YAML.methods.length
launch jirb as: jruby --debug jirb
require 'yaml'
puts YAML.methods.length
10 methods are missing.
--
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