[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: guava-libraries 18?



On Tue, 28 Oct 2014, Emmanuel Bourg wrote:

> like to highlight that in Java you can't have two incompatible versions
> of the same library on the classpath. So if elasticsearch pulls another
> library that depends on guava but is incompatible with the version 18,
> it's likely to break at runtime.

That’s what a coworker told me last week, too. I was really
amazed/puzzled.

Apparently, you can get around this by writing custom class
loaders. Can’t we “just” put one of these together with each
library, so it only gets “its own” dependencies in a private
code bubble?

On second thought… *shudder*

bye,
//mirabilos
-- 
tarent solutions GmbH
Rochusstraße 2-4, D-53123 Bonn • http://www.tarent.de/
Tel: +49 228 54881-393 • Fax: +49 228 54881-235
HRB 5168 (AG Bonn) • USt-ID (VAT): DE122264941
Geschäftsführer: Dr. Stefan Barth, Kai Ebenrett, Boris Esser, Alexander Steeg


Reply to: