YAML roundtrip error
Key: JRUBY-1285
URL: http://jira.codehaus.org/browse/JRUBY-1285
Project: JRuby
Issue Type: Bug
Components: Core Classes/Modules
Affects Versions: JRuby 1.0.1
Reporter: David
Eric,
Interesting.
For a), how are you invoking JRuby? Is it possible that your
CLASSPATH setting is not even picked up by the JVM? From what I know, if you
don't need to load JAR in Java code, then you wouldn't have to load the JAR
explicitly in JRuby either.
For b), once
Hi, Peter.
Your comments match my expectation, based on what I had read.
But what I found was that:
a) Putting the jar in the CLASSPATH was not sufficient.
An include_class statement failed with "class not found"
until the JAR was also required in the code. (For JVM core
classes, it
Eric,
I think most of your steps are correct. I suspect that if you are
including the JAR on the JVM CLASSPATH, you would not need to require the
JAR individually (JRuby can resolve the class using normal Java
classloading).
3 and 4 are substitutes for each other. Use one or the ot
http://java.sun.com/developer/technicalArticles/scripting/jruby/
http://www.headius.com/jrubywiki/index.php/Calling_Java_from_JRuby
After examining those writeups and doing a lot of experimenting,
I've been able to make 3rd party Java classes accessible by doing
the following:
1. Putting the
$$ (pid) returns non-pid (Ruby.hashCode) and it set in Main.java
Key: JRUBY-1284
URL: http://jira.codehaus.org/browse/JRUBY-1284
Project: JRuby
Issue Type: Bug
Compon
Hi!
I worked on AR-JDBC recently. assert_queries in abstract_unit.rb
doesn't work in JRuby. The reason is that 'execute' method is aliased.
After debug, I find removeCachedMethod in CacheSite isn't invoked
(remove in CacheMap) when method is aliased. I can't give the exact
reason because some cod