0 Replies Latest reply on Mar 15, 2006 1:11 PM by Adrian Brock

    Changes to annotation processing

    Adrian Brock Master

      I have made two changes to the annotation processing,
      such that the annotations can be used in JDK1.4 after pruning.

      1) Keep default annotation and parameter annotation data
      after pruning. I still to test that all of the sites for an annotation are covered.

      2) Allow somebody that subclasses ClassPool to specify a better
      "guess" for contextual classloader for classloading.
      By default it is the context classloader like before.
      See ClassPool.getClassLoader()

      If you are interested in (2) take a look at ScopedClassPoolRepository
      in the jboss-retro project which is based on the AopClassPool.