The problem is that I am defining:

call(javax.microedition.io.*->*(..))

There is an interface javax.microedition.io.Connection in the package. My class is 
using javax.wireless.messaging.MessageConnection that extends 
javax.microedition.io.Connection.  The code in bold below is being changed by 
JBossAOP, for javax.wireless.messaging.MessageConnection extends 
javax.microedition.io.Connection. But the probrem is that resolveCallerMethodInfo can 
not find the method close() in javax.wireless.messaging.MessageConnection, for close() 
is declared in javax.microedition.io.Connection. Then the exception is thrown.  The 
method findMethodByHash only tries to find the method in the superclass, but  
javax.wireless.messaging.MessageConnection is an interface and don't have 
superclasses. It only extends interfaces (Class.getInterfaces()). 

javax.wireless.messaging.MessageConnection conn....
...
...
conn.close(); 

Thanks,

Marcio Alves



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

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


-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
_______________________________________________
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to