JBoss Community

Re: getDeclaringClass throws error

created by Ragnar Rova in Javassist - View the full discussion

Error was

 

java.lang.IncompatibleClassChangeError: foo.GetDeclaringClassTest and foo.GetDeclaringClassTest$Foo$BackRef disagree on InnerClasses attribute

 

 

Is it because I have not modified the outer class? How can I create a copy of a inner class (and add one field) without getting this error?

Reply to this message by going to Community

Start a new discussion in Javassist at Community