JDK-4259309 : sun.misc.Service.installedProviders should return singletons
  • Type: Enhancement
  • Component: core-libs
  • Sub-Component: java.util
  • Affected Version: 1.3.0
  • Priority: P4
  • Status: Open
  • Resolution: Unresolved
  • OS: generic
  • CPU: generic
  • Submitted: 1999-08-03
  • Updated: 2017-07-17
Related Reports
Relates :  
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.

Comments
Singletons can be implemented using static provider methods (new in Java SE 9) so I think this issue can be closed.
17-07-2017