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

jaikiran do-not-reply at jboss.com
Fri Apr 3 08:48:32 EDT 2009


Looking at this code:
anonymous wrote : 
  | String cast$1 = "(" + fieldType.getName() + ") $1";        
  |         if(directWriteField) src = "target." + field + " = " + " $1;";
  | 

I think you have a typo. You should be having this:

String cast$1 = "(" + fieldType.getName() + ") $1";        
  |         if(directWriteField) src = "target." + field + " = " + cast$1 + ";";
  | 

anonymous wrote : (out of topic) his there an edit post tool ?

No, there's no edit option.


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

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



More information about the jboss-user mailing list