diff options
author | chiba <chiba@30ef5769-5b8d-40dd-aea6-55b5d6557bb3> | 2007-06-22 11:50:48 +0000 |
---|---|---|
committer | chiba <chiba@30ef5769-5b8d-40dd-aea6-55b5d6557bb3> | 2007-06-22 11:50:48 +0000 |
commit | 0bc991544790227ea04309acd3f094ee2dddf48f (patch) | |
tree | 1e3b4abdb97b0e115a960192fe5763c2e3d2ceb1 /src/main/javassist/expr/Cast.java | |
parent | 42a85cc5b90cd0909b7f429f002d702f5ab2a688 (diff) | |
download | javassist-0bc991544790227ea04309acd3f094ee2dddf48f.tar.gz javassist-0bc991544790227ea04309acd3f094ee2dddf48f.zip |
fixed a bug of CtClassType#releaseClassFiles()
git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@391 30ef5769-5b8d-40dd-aea6-55b5d6557bb3
Diffstat (limited to 'src/main/javassist/expr/Cast.java')
-rw-r--r-- | src/main/javassist/expr/Cast.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main/javassist/expr/Cast.java b/src/main/javassist/expr/Cast.java index bcce724a..effa8010 100644 --- a/src/main/javassist/expr/Cast.java +++ b/src/main/javassist/expr/Cast.java @@ -87,6 +87,7 @@ public class Cast 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); |