JDK-5041282 : Apt should use a unique class loader for each factory
  • Type: Bug
  • Component: tools
  • Sub-Component: apt
  • Affected Version: 5.0
  • Priority: P4
  • Status: Closed
  • Resolution: Won't Fix
  • OS: generic
  • CPU: generic
  • Submitted: 2004-05-03
  • Updated: 2009-09-22
  • Resolved: 2009-09-22
Related Reports
Relates :  
Description
Apt potentially loads and runs multiple factories.  Users have reported it is more hygenic to load each factory with a separate class loader to prevent one factory's actions from contaminating another factory.

Comments
EVALUATION The apt tool and its API have been deprecated as of JDK 7 (6381698). By default, issues with annotation processing will only be fixed in the standardized JSR 269 processing in javac as of JDK 6. In JSR 269, interested users can use the JavaCompiler.CompilationTask. setProcessors method to maximally control the class loading of their annotation processors. Closing as will not fix.
22-09-2009

EVALUATION Will investigate. ###@###.### 2004-05-03 Doesn't seem critical for Tiger; will consider for a future release. ###@###.### 2004-06-21
03-05-2004