See http://sourceforge.net/tracker/?func=detail&aid=987038&group_id=22866&atid=376685. 
 A failing TestCase is provided.

I notice that the code deliberately treats statics differently:

            if ((finfo.getAccessFlags() & AccessFlag.STATIC) == 0) {
  |                 code.addAload(0);
  |                 code.addLoad(1, field.getType());
  |                 code.addPutfield(Bytecode.THIS, fieldName, fieldType);
  |             }
  |             else {
  |                 code.addLoad(0, field.getType());
  |                 code.addPutstatic(Bytecode.THIS, fieldName, fieldType);
  |             }

Any ideas what the problem could be?

Thanks

Brett Randall


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

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


-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to