JDK-6343486 : Change java.util.Service reference to sun.misc.Service in JavacProcessingEnvironment.
  • Type: Bug
  • Component: tools
  • Sub-Component: javac
  • Affected Version: 6
  • Priority: P2
  • Status: Resolved
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2005-10-28
  • Updated: 2010-04-02
  • Resolved: 2006-02-18
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 6
6 b73Fixed
Related Reports
Relates :  
Description
Please change the java.util.Service reference to sun.misc.Service in com.sun.tools.javac.processing.JavacProcessingEnvironment.  The java.util.Service class is new t Mustang, and its use prevents the NetBeans IDE from using javac's library.

Comments
SUGGESTED FIX Webrev of changes: http://sa.sfbay/projects/langtools/bugid_summary.pl?bugid=6343486
28-12-2005

EVALUATION Using sun.misc.Service in the JSR 269 implementation instead of the java.util.Service class introduced in Mustang will more easily allow the JSR 269 implementation to be run on Tiger-era JDKs.
09-11-2005

SUGGESTED FIX JavacProcessingEnvironment.java:212 < processorIterator = Service.lookup(Processor.class, processorCL).iterator(); ---- > processorIterator = sun.misc.Service.providers(Processor.class, processorCL);
28-10-2005