diff options
Diffstat (limited to 'src/main/javassist/reflect/Compiler.java')
-rw-r--r-- | src/main/javassist/reflect/Compiler.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/javassist/reflect/Compiler.java b/src/main/javassist/reflect/Compiler.java index c5650bd1..222683a6 100644 --- a/src/main/javassist/reflect/Compiler.java +++ b/src/main/javassist/reflect/Compiler.java @@ -91,7 +91,7 @@ public class Compiler { { Reflection implementor = new Reflection(); ClassPool pool = ClassPool.getDefault(); - pool.insertTranslator(implementor); + pool.addTranslator(implementor); for (int i = 0; i < n; ++i) { CtClass c = pool.get(entries[i].classname); |