Sorry for excerpting.

On May 19, 2009, at 2:14 PM, Luc Maisonobe wrote:

With different packages names, the situation is simpler to handle: you
can have both libraries (in any order) in your classpath without
problems. You can have both 1.2 even hidden deep inside another jumbo
package and 2.0 without your code picking up the old classes when you
think it should pick the new ones ... This has happened only a few days
ago with commons-math.

IIUC, this problem is solved by OSGi through its tricky use of class loaders. Of course, you can say that OSGi is the very definition of jar hell, but at least they are trying.

Craig

Craig L Russell
Architect, Sun Java Enterprise System http://db.apache.org/jdo
408 276-5638 mailto:craig.russ...@sun.com
P.S. A good JDO? O, Gasp!

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to