United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: 4640520 java.util.Service
4640520 : java.util.Service

Details
Type:
Enhancement
Submit Date:
2002-02-20
Status:
Resolved
Updated Date:
2005-11-21
Project Name:
JDK
Resolved Date:
2005-10-14
Component:
core-libs
OS:
solaris_9,linux,generic,solaris_10
Sub-Component:
java.util
CPU:
x86,sparc,generic
Priority:
P4
Resolution:
Fixed
Affected Versions:
1.4.0,1.4.2,5.0,6
Fixed Versions:
6

Related Reports
Duplicate:
Duplicate:
Duplicate:
Duplicate:
Relates:
Relates:
Relates:
Relates:

Sub Tasks

Description
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.

                                    

Comments
EVALUATION

Integrated for Mustang b57.
                                     
2005-10-11
WORK AROUND

JSR 199, the compiler/tool API, provides javax.tools.ToolProvider
which exposes some of the functionality of sun.misc.Service.
                                     
2005-08-04
EVALUATION

Under development for Mustang.
                                     
2004-06-11



Hardware and Software, Engineered to Work Together