From 0edc786cdcfc4d18f03ea262368ff61aee468d3c Mon Sep 17 00:00:00 2001 From: chiba Date: Thu, 16 Jul 2009 08:33:39 +0000 Subject: [PATCH] fixed JIRA JASSIST-89 git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@490 30ef5769-5b8d-40dd-aea6-55b5d6557bb3 --- src/main/javassist/CtNewClass.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/javassist/CtNewClass.java b/src/main/javassist/CtNewClass.java index 2229d417..ba48e93f 100644 --- a/src/main/javassist/CtNewClass.java +++ b/src/main/javassist/CtNewClass.java @@ -103,7 +103,7 @@ class CtNewClass extends CtClassType { if (n < 1) throw new CannotCompileException( - "no public constructor in " + superclazz.getName()); + "no inheritable constructor in " + superclazz.getName()); } @@ -117,7 +117,7 @@ class CtNewClass extends CtClassType { if (pname == null) return pname2 == null; else - pname.equals(pname2); + return pname.equals(pname2); } return true; -- 2.39.5