[yecht] 03/13: Stupidness

Miguel Landaeta nomadium at moszumanska.debian.org
Sat Jan 24 21:47:01 UTC 2015


This is an automated email from the git hooks/post-receive script.

nomadium pushed a commit to branch master
in repository yecht.

commit d665cd6a2ab37032d34a37720e34cb01a9a8f430
Author: Ola Bini <ola.bini at gmail.com>
Date:   Wed Oct 21 14:37:16 2009 +0800

    Stupidness
---
 ext/ruby/src/java/org/yecht/ruby/RubyLoadHandler.java | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/ext/ruby/src/java/org/yecht/ruby/RubyLoadHandler.java b/ext/ruby/src/java/org/yecht/ruby/RubyLoadHandler.java
index 4a9fc5c..8dc62de 100644
--- a/ext/ruby/src/java/org/yecht/ruby/RubyLoadHandler.java
+++ b/ext/ruby/src/java/org/yecht/ruby/RubyLoadHandler.java
@@ -4,6 +4,7 @@ import org.yecht.NodeHandler;
 import org.yecht.Parser;
 
 import org.jruby.Ruby;
+import org.jruby.RubyObject;
 import org.jruby.RubyHash;
 import org.jruby.runtime.builtin.IRubyObject;
 import org.jruby.runtime.CallSite;
@@ -47,7 +48,7 @@ public class RubyLoadHandler implements NodeHandler {
         }
 
         if(bonus.taint) {
-            obj.taint(runtime.getCurrentContext());
+            ((RubyObject)obj).taint(runtime.getCurrentContext());
         }
 
         if(bonus.proc != null) {

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/yecht.git



More information about the pkg-java-commits mailing list