You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by Mark Thomas <ma...@apache.org> on 2023/02/27 15:58:11 UTC
Re: [tomcat] branch main updated: Refactcor custom URL handler to use ServiceLoader
On 23/01/2023 19:31, markt@apache.org wrote:
> This is an automated email from the ASF dual-hosted git repository.
>
> markt pushed a commit to branch main
> in repository https://gitbox.apache.org/repos/asf/tomcat.git
>
>
> The following commit(s) were added to refs/heads/main by this push:
> new 0782f0b919 Refactcor custom URL handler to use ServiceLoader
> 0782f0b919 is described below
>
> commit 0782f0b919b5131a9423c91333f7c557954336a3
> Author: Mark Thomas <ma...@apache.org>
> AuthorDate: Mon Jan 23 14:56:29 2023 +0000
>
> Refactcor custom URL handler to use ServiceLoader
Heads up. I am going to have to revert this.
Unfortunately, this just doesn't work - primarily because java.net.URI
uses the system class loader to do the ServiceLoader lookup so Tomcat's
war handler isn't visible.
I do have some ideas about how to streamline this. I plan to look at
those afer the March release round.
Mark
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org