diff options
Diffstat (limited to 'src/main/javassist/expr/Instanceof.java')
-rw-r--r-- | src/main/javassist/expr/Instanceof.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main/javassist/expr/Instanceof.java b/src/main/javassist/expr/Instanceof.java index cdc9ce93..b5de1b97 100644 --- a/src/main/javassist/expr/Instanceof.java +++ b/src/main/javassist/expr/Instanceof.java @@ -90,6 +90,7 @@ public class Instanceof extends Expr { * @param statement a Java statement. */ public void replace(String statement) throws CannotCompileException { + thisClass.getClassFile(); // to call checkModify(). ConstPool constPool = getConstPool(); int pos = currentPos; int index = iterator.u16bitAt(pos + 1); |