Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4259309

sun.misc.Service.installedProviders should return singletons

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Unresolved
    • P4
    • None
    • 1.3.0
    • core-libs
    • generic
    • generic

    Description

      Since the service providers returned by sun.misc.Service.installedProviders are usually factories, they should be singletons. That means, for each concrete service provider class, the same instance should be returned from every call to installedProviders.

      Attachments

        Issue Links

          Activity

            People

              mr Mark Reinhold
              nlindenbsunw Norbert Lindenberg (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Imported:
                Indexed: