julian_j [
http://community.jboss.org/people/julian_j] created the discussion
"Javassist in Android : get in ClassPool not working ?"
To view the discussion, visit:
http://community.jboss.org/message/569401#569401
--------------------------------------------------------------
Hello,
I'm new with Javassist. I try to integrate it in Android (2.2) for my master thesis.
The problem is that the find() and the get() methods from the ClassPool always return
either null (for find) or throw a NotFoundException (for get) when I try to get some user
class. I inspected the source code of both methods, but everything seems good (but the
classloading mechanisms are still complex for me ...)
I also tried to play with the importPackage(), appendClassPath() and appendSystemPath()
methods of the ClassPool, but the problem is still the same: Javassist is not able to find
the classes of my application.
I wonder if the source comes from the Dalvik, and if I can do something to overcome it.
Any Idea ?
Julian
--------------------------------------------------------------
Reply to this message by going to Community
[
http://community.jboss.org/message/569401#569401]
Start a new discussion in Javassist at Community
[
http://community.jboss.org/choose-container!input.jspa?contentType=1&...]