Modularizing URLStreamHandlerFactory

mark.reinhold at oracle.com mark.reinhold at oracle.com
Fri Jun 15 16:38:55 PDT 2012


2012/6/15 14:17 -0700, jesse.glick at oracle.com:
> ...
> 
> It would be nicer for a modular JRE to allow URL handler factories to
> be registered as services. OSGi and the NetBeans module system both do
> something like this.
> 
> Similar arguments could perhaps be made for other pluggable singletons in the
> current Java platform API (UncaughtExceptionHandler, FileNameMap,
> ProxySelector, HostnameVerifier, SSLSocketFactory, ...) but
> URLStreamHandlerFactory is the one which I know matters.

Agreed.  We should evaluate all such extension points for potential
retrofitting with services.

- Mark



More information about the jigsaw-dev mailing list