diff options
author | Florian Frank <flori@ping.de> | 2011-07-04 18:04:14 +0200 |
---|---|---|
committer | Florian Frank <flori@ping.de> | 2011-07-04 18:04:14 +0200 |
commit | 58a54defa3344f94b211b1d3b5e1a6e24e4054b0 (patch) | |
tree | e8d11a478a55f6d317b80b135eefaf3d090d883b /java/src/json/ext/Utils.java | |
parent | 738a65c873f7ecc82352fbd516aadfec67063fc8 (diff) | |
parent | 1a9725371131300e3230b4b9c14e669d334f4152 (diff) | |
download | json-58a54defa3344f94b211b1d3b5e1a6e24e4054b0.tar.gz |
Merge branch 'fix_memory_leak' of https://github.com/bigfix/json into development
Diffstat (limited to 'java/src/json/ext/Utils.java')
-rw-r--r-- | java/src/json/ext/Utils.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/java/src/json/ext/Utils.java b/java/src/json/ext/Utils.java index 7a1dfee..f52ac8d 100644 --- a/java/src/json/ext/Utils.java +++ b/java/src/json/ext/Utils.java @@ -66,7 +66,7 @@ final class Utils { static RaiseException newException(ThreadContext context, String className, RubyString message) { RuntimeInfo info = RuntimeInfo.forRuntime(context.getRuntime()); - RubyClass klazz = info.jsonModule.getClass(className); + RubyClass klazz = info.jsonModule.get().getClass(className); RubyException excptn = (RubyException)klazz.newInstance(context, new IRubyObject[] {message}, Block.NULL_BLOCK); |