maven-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tibor Digana <tibordig...@apache.org>
Subject Re: cdi-api leaking?
Date Mon, 05 Feb 2018 22:52:56 GMT
This must be a big problem for you actually.
Can you use isolated ClassLoader, set Context ClassLoader in current Thread
and back the origin, reflectively create a new instance of a factory and
build an object which runs your code during the plugin execution? When the
plugin's job has finally finished replace CL in current Thread.

On Fri, Jan 19, 2018 at 1:18 PM, Romain Manni-Bucau <rmannibucau@gmail.com>
wrote:

> Hi guys,
>
> cdi-api is still in maven lib and breaks any plugin using it since it is an
> old version, can it be dropped or at least isolated from plugin
> classloaders?
>
> Thanks,
> Romain Manni-Bucau
> @rmannibucau <https://twitter.com/rmannibucau> |  Blog
> <https://rmannibucau.metawerx.net/> | Old Blog
> <http://rmannibucau.wordpress.com> | Github <https://github.com/
> rmannibucau> |
> LinkedIn <https://www.linkedin.com/in/rmannibucau>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message