Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

[1.9] Ensure runtimeCache in script object gets inited, even if only …

…encodings are cached.
  • Loading branch information...
commit a189265af4d02ed260ad35327b592d3646c9b782 1 parent 9c2146a
@headius headius authored yokolet committed
Showing with 2 additions and 1 deletion.
  1. +2 −1  src/org/jruby/compiler/impl/InheritedCacheCompiler.java
View
3  src/org/jruby/compiler/impl/InheritedCacheCompiler.java
@@ -494,7 +494,8 @@ public void finish() {
+ inheritedBlockBodyCount
+ inheritedBlockCallbackCount
+ inheritedMethodCount
- + inheritedStringCount;
+ + inheritedStringCount
+ + inheritedEncodingCount;
if (callSiteListSize + otherCount != 0) {
ensureRuntimeCacheInited(initMethod);
Please sign in to comment.
Something went wrong with that request. Please try again.