JDK-6575445 : Update annotation processor to only use java.util.ServiceLoader
  • Type: Bug
  • Component: core-libs
  • Sub-Component: javax.annotation.processing
  • Affected Version: 7
  • Priority: P4
  • Status: Closed
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2007-06-29
  • Updated: 2012-04-27
  • Resolved: 2012-04-27
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 8
8 b01Fixed
Related Reports
Relates :  
Relates :  
Relates :  
Description
For a variety of reasons, the javac compiler was changed to use core reflection to find a service loader class to annotation processor discovery instead of using a direct source referernce to one service loader or another (6378954).  Once javac supports running on JDK 6 or later, the standard java.util.ServiceLoader can be used directly.
Another API update is to directly assume that URLClassLoader is Closeable, see 6558476.

Comments
EVALUATION Core reflection should be avoided when possible.
29-06-2007