1

Im using verbose:class option to find classes loaded in jvm. As an alternative to this im trying to use aspectj class load join point after() : staticinitialization(*). But some classes are missing with second option especially agent classes. What is the difference between both?. Is it possible to use point cut as alternative to verbose?

Ramya
  • 473
  • 1
  • 4
  • 8
  • The first option traces all **loaded** classes, while the second - all **initialized** classes. Not all loaded classes are initialized. See http://stackoverflow.com/questions/19100002/class-loading-vs-class-initialization – apangin Aug 17 '15 at 17:37
  • According to this http://stackoverflow.com/questions/8053802/aspectj-add-static-initializer-to-class . staticinitialization() acts as a simple class load join point. – Ramya Aug 24 '15 at 14:40

0 Answers0