Skip to content

Commit

Permalink
Bignums are frozen at create now.
Browse files Browse the repository at this point in the history
  • Loading branch information
headius committed Apr 17, 2015
1 parent d06fd82 commit 073d772
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions core/src/main/java/org/jruby/RubyBignum.java
Expand Up @@ -76,6 +76,7 @@ public static RubyClass createBignumClass(Ruby runtime) {
public RubyBignum(Ruby runtime, BigInteger value) {
super(runtime, runtime.getBignum());
this.value = value;
setFrozen(true);
}

@Override
Expand Down

0 comments on commit 073d772

Please sign in to comment.