aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/javassist/CtNewClass.java
diff options
context:
space:
mode:
authorchiba <chiba@30ef5769-5b8d-40dd-aea6-55b5d6557bb3>2004-08-19 14:04:32 +0000
committerchiba <chiba@30ef5769-5b8d-40dd-aea6-55b5d6557bb3>2004-08-19 14:04:32 +0000
commit8c82477b4172ed0db9e5d866a0dba22ae20eb23f (patch)
tree413e976fd906df977b3ebf383f4eddf9372de84e /src/main/javassist/CtNewClass.java
parent7fd8dd68388f6e910b1e0f54df363a84481d0809 (diff)
downloadjavassist-8c82477b4172ed0db9e5d866a0dba22ae20eb23f.tar.gz
javassist-8c82477b4172ed0db9e5d866a0dba22ae20eb23f.zip
implemented pruning
git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@125 30ef5769-5b8d-40dd-aea6-55b5d6557bb3
Diffstat (limited to 'src/main/javassist/CtNewClass.java')
-rw-r--r--src/main/javassist/CtNewClass.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main/javassist/CtNewClass.java b/src/main/javassist/CtNewClass.java
index bfc513b8..a1474cc1 100644
--- a/src/main/javassist/CtNewClass.java
+++ b/src/main/javassist/CtNewClass.java
@@ -61,6 +61,7 @@ class CtNewClass extends CtClassType {
if (!hasConstructor)
try {
inheritAllConstructors();
+ hasConstructor = true;
}
catch (NotFoundException e) {
throw new CannotCompileException(e);