summaryrefslogtreecommitdiffstats
path: root/src/main/javassist/CtClass.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/javassist/CtClass.java')
-rw-r--r--src/main/javassist/CtClass.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main/javassist/CtClass.java b/src/main/javassist/CtClass.java
index bb8c46cb..3b02a41f 100644
--- a/src/main/javassist/CtClass.java
+++ b/src/main/javassist/CtClass.java
@@ -390,7 +390,8 @@ public abstract class CtClass {
}
/**
- * Changes a super class.
+ * Changes a super class. The new super class must be compatible
+ * with the old one.
*/
public void setSuperclass(CtClass clazz) throws CannotCompileException {
checkModify();