Permalink
Browse files

JRUBY-1694: jossl is using JRuby 1.1 op_aset which does not exist in …

…JRuby 1.0.x

git-svn-id: http://svn.codehaus.org/jruby/branches/jruby-1_0@5246 961051c9-f516-0410-bf72-c9f7e237a7b7
  • Loading branch information...
enebo committed Dec 13, 2007
1 parent 6f38cb6 commit a3faadd139f975fd14ddf0b41806fbe8edbe0fef
Showing with 5 additions and 1 deletion.
  1. +5 −1 src/org/jruby/RubyHash.java
@@ -854,10 +854,14 @@ public final void fastASet(IRubyObject key, IRubyObject value) {
internalPut(key, value);
}
+ public IRubyObject aset(IRubyObject key, IRubyObject value) {
+ return op_aset(key, value);
+ }
+
/** rb_hash_aset
*
*/
- public IRubyObject aset(IRubyObject key, IRubyObject value) {
+ public IRubyObject op_aset(IRubyObject key, IRubyObject value) {
modify();
if (!(key instanceof RubyString)) {

0 comments on commit a3faadd

Please sign in to comment.