• Post Reply Bookmark Topic Watch Topic
  • New Topic

Is this loading procedure correct?  RSS feed

 
sanyam Goel
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Can anybody put lime light on what possible problems might emerge if an application created instruments class files before loading them using custom loader. I have created a java application that does the same thing.

I read class files in the form of byte arrays Then I instrument using asm library and then Load them through custom class loader.

Is this procedure prone to failure if yes why??
 
Stephan van Hulst
Saloon Keeper
Posts: 7992
143
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What do you mean by "instrument"?

What are you trying to do and why? Maybe you can illustrate using a bit of code as well.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!