Coping methods

Stephen Kolaroff <[email protected]>
Newsgroups gmane.comp.jakarta.bcel.devel
Message-ID <[email protected]>
Hi

I noticed that when a MethodGen is copied from one class (One) to 
another (Another), all references to this are left unchanged:

class One {
   int field;
   void putfield() {
     field = 10
   }
}

after copy of the putfield() method to Another I get smth like (I am 
decompiling by hand):
class Another {
   //....
   void putfield() {
   One one;
   one = this;
   one.field = 10;
   }
}

which makes the JVM verifier nervous.

Is that way of copy feature or a bug. If a bug, will it be fixed soon/ 
would you receive patch.

Regards
Cheffo
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.