Java has a service leader mechanism for that. No sense in duplicating it.
If that means updating to Java 8, then so be it.

Gary

On Sat, Jan 4, 2020, 07:58 Emmanuel Bourg <ebo...@apache.org> wrote:

> Le 04/01/2020 à 12:19, Stefan Bodewig a écrit :
>
> > This won't work as CompressorStreamFactory depends on the package.
>
> Maybe some reflection could address that?
>
>
> > https://github.com/pack200/pack200 looks pretty public to me :-)
>
> I've just pushed a raw extraction of the OpenJDK code with its history.
> I'll have to redo it to include all the C files required to compile the
> native library.
>
>
> > I'd say it is fair to call pack200 support an optional feature of
> > Commons Compress https://apache.org/legal/resolved.html#optional
>
> Good point, I wasn't aware of this rule.
>
> Alternatively I'm considering adding an independent Apache-2.0 licensed
> interface, and having the GPLed code provide an implementation, maybe
> using a META-INF service mechanism.
>
> Emmanuel Bourg
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
> For additional commands, e-mail: dev-h...@commons.apache.org
>
>

Reply via email to