[jboss-user] [Javassist user questions] - Re: VerifyError when instanciating a generated class (Bad ty

kromate do-not-reply at jboss.com
Thu Apr 2 09:34:10 EDT 2009

Yes this is a public field. 

In this case the error will much be something like an IllegalAccessException.

It's like there is a type problem.

The strange thing is that this line is not working:
if(directWriteField) src = "target." + field + " = " + " $1;";

but this one is:
if(directWriteField) src = "target." + field + " = new java.util.Date();";

View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4223016#4223016

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4223016

More information about the jboss-user mailing list