JDK-4640520 : java.util.Service
  • Type: Enhancement
  • Component: core-libs
  • Sub-Component: java.util
  • Affected Version: 1.4.0,1.4.2,5.0,6
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • OS: generic,linux,solaris_9,solaris_10
  • CPU: generic,x86,sparc
  • Submitted: 2002-02-20
  • Updated: 2017-05-16
  • Resolved: 2005-10-14
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.
6 b57Fixed
Related Reports
Duplicate :  
Duplicate :  
Duplicate :  
Duplicate :  
Relates :  
Relates :  
Relates :  
Relates :  
The JAR file format was extended in JDK 1.3 to support a standard way of
specifying pluggable "service providers" in a special META-INF file (see
http://java.sun.com/j2se/1.4/docs/guide/jar/jar.html#Service%20Provider for
details).  Many subsystems in the platform now use this feature, including
sound, security, networking, naming, new I/O, image I/O, printing, input
methods, and XML.  Most (though not all) of these subsystems use the internal
sun.misc.Service class, which defines a simple mechanism for looking up
services and instantiating providers.

We should refine the sun.misc.Service class as needed and then promote it into
the java.util package.  This will make it easier for both internal and external
developers to make use of the META-INF/services feature, which has become very
widely used.

EVALUATION Integrated for Mustang b57.

WORK AROUND JSR 199, the compiler/tool API, provides javax.tools.ToolProvider which exposes some of the functionality of sun.misc.Service.

EVALUATION Under development for Mustang.